mirror of
https://github.com/YACReader/yacreader
synced 2025-06-03 00:58:32 -04:00
YACReaderLibrary: Activate and rise window on tray icon clicks
This commit is contained in:
parent
09c8125f87
commit
e6c4e92e01
@ -150,6 +150,8 @@ void LibraryWindow::trayActivation(QSystemTrayIcon::ActivationReason reason)
|
|||||||
{
|
{
|
||||||
setWindowState((windowState() & ~Qt::WindowMinimized));
|
setWindowState((windowState() & ~Qt::WindowMinimized));
|
||||||
show();
|
show();
|
||||||
|
activateWindow();
|
||||||
|
raise();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user