Fix connection to QSystemTrayIcon::messageClicked in main_window_win
This commit is contained in:
parent
e247be7e33
commit
8142e83395
|
@ -217,7 +217,11 @@ void MainWindow::psSetupTrayIcon() {
|
|||
auto icon = QIcon(App::pixmapFromImageInPlace(Core::App().logoNoMargin()));
|
||||
|
||||
trayIcon->setIcon(icon);
|
||||
connect(trayIcon, SIGNAL(messageClicked()), this, SLOT(showFromTray()));
|
||||
connect(
|
||||
trayIcon,
|
||||
&QSystemTrayIcon::messageClicked,
|
||||
this,
|
||||
[=] { App::wnd()->showFromTray(); });
|
||||
attachToTrayIcon(trayIcon);
|
||||
}
|
||||
updateIconCounters();
|
||||
|
|
Loading…
Reference in New Issue