Use showNormal in macos and show in other platforms

This commit is contained in:
Luis Ángel San Martín 2019-09-22 13:27:06 +02:00
parent 1ddf0038b8
commit 6990ba0765

View File

@ -101,8 +101,10 @@ void TrayIconController::showWindow()
{ {
#ifdef Q_OS_MACOS #ifdef Q_OS_MACOS
OSXShowDockIcon(); OSXShowDockIcon();
#endif window->showNormal();
#else
window->show(); window->show();
#endif
window->raise(); // for MacOS window->raise(); // for MacOS
window->activateWindow(); // for Windows window->activateWindow(); // for Windows
} }