mirror of
https://github.com/YACReader/yacreader
synced 2025-11-27 04:52:44 -05:00
Use showNormal in macos and show in other platforms
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user