From 6990ba07655db26558f517601b99b5d93ca23853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sun, 22 Sep 2019 13:27:06 +0200 Subject: [PATCH] Use `showNormal` in macos and `show` in other platforms --- YACReaderLibrary/trayicon_controller.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/YACReaderLibrary/trayicon_controller.cpp b/YACReaderLibrary/trayicon_controller.cpp index 6f4810e7..333b651c 100644 --- a/YACReaderLibrary/trayicon_controller.cpp +++ b/YACReaderLibrary/trayicon_controller.cpp @@ -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 }