mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +08:00
Ref T731, correct UI audio messages
This commit is contained in:
committed by
Mat Sutcliffe
parent
4dbe1c49c8
commit
bcd97c3a60
@@ -105,7 +105,7 @@ namespace BlackCore
|
|||||||
|
|
||||||
QString IContextAudio::audioRunsWhereInfo() const
|
QString IContextAudio::audioRunsWhereInfo() const
|
||||||
{
|
{
|
||||||
static const QString s = QStringLiteral("Local audio on '%1', '%2'.").arg(audioRunsWhere().getMachineName(), audioRunsWhere().getProcessName());
|
static const QString s = QStringLiteral("Audio on '%1', '%2'.").arg(audioRunsWhere().getMachineName(), audioRunsWhere().getProcessName());
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -94,7 +94,9 @@ namespace BlackGui
|
|||||||
|
|
||||||
if (audio)
|
if (audio)
|
||||||
{
|
{
|
||||||
ui->le_Info->setText(audio ? sGui->getIContextAudio()->audioRunsWhereInfo() : "No audio, cannot change.");
|
const QString ai = audio ? sGui->getIContextAudio()->audioRunsWhereInfo() : "No audio, cannot change.";
|
||||||
|
ui->le_Info->setText(ai);
|
||||||
|
ui->le_Info->setPlaceholderText(ai);
|
||||||
|
|
||||||
this->initAudioDeviceLists();
|
this->initAudioDeviceLists();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user