mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-22 22:28:08 +00:00
feat(app): log received singleton app messages
This commit is contained in:
parent
7635fc1ee4
commit
3f02620193
1 changed files with 2 additions and 0 deletions
|
|
@ -136,6 +136,8 @@ void App::initContentApp () {
|
|||
|
||||
QObject::connect(
|
||||
this, &App::receivedMessage, this, [this](int, QByteArray message) {
|
||||
qInfo() << QStringLiteral("Received message from other application: `%1`.").arg(QString(message));
|
||||
|
||||
if (message == "show")
|
||||
App::smartShowWindow(getMainWindow());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue