From: Manuel Nickschas Date: Sat, 14 Feb 2009 21:45:25 +0000 (+0100) Subject: Call activateWindow() on tray restore X-Git-Tag: 0.4.0~47 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=bc988c9c1e27bbea6c6280c3063def38a4138ab7;p=quassel.git Call activateWindow() on tray restore --- diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index 5a7b77fd..9c234437 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -773,8 +773,8 @@ void MainWin::toggleMinimizedToTray() { // restore setWindowState((windowState() & ~Qt::WindowMinimized) | Qt::WindowActive); show(); + activateWindow(); raise(); - } else { setWindowState((windowState() & ~Qt::WindowActive) | Qt::WindowMinimized); hideToTray();