mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Use showNormal
in macos and show
in other platforms
This commit is contained in:
parent
1ddf0038b8
commit
6990ba0765
@ -101,8 +101,10 @@ void TrayIconController::showWindow()
|
||||
{
|
||||
#ifdef Q_OS_MACOS
|
||||
OSXShowDockIcon();
|
||||
#endif
|
||||
window->showNormal();
|
||||
#else
|
||||
window->show();
|
||||
#endif
|
||||
window->raise(); // for MacOS
|
||||
window->activateWindow(); // for Windows
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user