mirror of
https://github.com/YACReader/yacreader
synced 2025-07-14 02:54:46 -04: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