Commit 3f026201 authored by Ronan Abhamon's avatar Ronan Abhamon

feat(app): log received singleton app messages

parent 7635fc1e
......@@ -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());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment