通知栏添加指令输入的值
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#include "CommandUI.h"
|
||||
#include "CommandUI.h"
|
||||
#include "ui_CommandUI.h"
|
||||
|
||||
#include "QtTextToSpeech/QtTextToSpeech"
|
||||
@@ -513,7 +513,7 @@ void CommandUI::setSecondValue(QVariant value)
|
||||
btn->style()->polish(btn);
|
||||
|
||||
|
||||
emit showMessage(tr("发送指令 %1 %2").arg(btn->Command().toString()).arg(btn->text()));
|
||||
emit showMessage(tr("发送指令 %1 %2 %3").arg(btn->Command().toString()).arg(btn->text()).arg(value.toString()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user