display trayicon on default
authorAlexander von Renteln <phon@quassel-irc.org>
Thu, 21 Feb 2008 13:33:07 +0000 (13:33 +0000)
committerAlexander von Renteln <phon@quassel-irc.org>
Thu, 21 Feb 2008 13:33:07 +0000 (13:33 +0000)
src/qtui/mainwin.cpp

index e6f3a54..7ccd533 100644 (file)
@@ -282,7 +282,7 @@ void MainWin::setupSystray() {
   systray->setContextMenu(systrayMenu);
 
   QtUiSettings s;
-  if(s.value("UseSystemTrayIcon").toBool()) {
+  if(s.value("UseSystemTrayIcon", QVariant(true)).toBool()) {
     systray->show();
   }