Another try on tackeling the minimize issues. lol.
authorMarcus Eggenberger <egs@quassel-irc.org>
Tue, 20 Jan 2009 23:44:27 +0000 (00:44 +0100)
committerMarcus Eggenberger <egs@quassel-irc.org>
Tue, 20 Jan 2009 23:44:27 +0000 (00:44 +0100)
going to sleep.
hmm... using git as twitter rocks.
!nini

src/qtui/mainwin.cpp
src/qtui/qtuiapplication.cpp

index cb33a01..db0860c 100644 (file)
@@ -717,6 +717,7 @@ void MainWin::toggleMinimizedToTray() {
     raise();
   } else {
     setWindowState(windowState() & ~Qt::WindowActive | Qt::WindowMinimized);
+    hideToTray();
   }
 }
 
index 9a99d9b..82013eb 100644 (file)
@@ -111,6 +111,7 @@ QtUiApplication::~QtUiApplication() {
 }
 
 void QtUiApplication::commitData(QSessionManager &manager) {
+  Q_UNUSED(manager)
   _aboutToQuit = true;
 }