UI: TrayIcon: Process system message's click asynchronously

This commit is contained in:
Nodir Temirkhodjaev 2023-11-16 14:59:26 +03:00
parent a3ce6ac13a
commit ac78e8288e

View File

@ -245,7 +245,7 @@ void WindowManager::setupTrayIcon()
m_trayIcon = new TrayIcon(this);
connect(m_trayIcon, &QSystemTrayIcon::messageClicked, this,
&WindowManager::onTrayMessageClicked);
&WindowManager::onTrayMessageClicked, Qt::QueuedConnection);
}
void WindowManager::showTrayIcon()