[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-2/konversation/konversation
From:       İsmail Dönmez <ismail.donmez () gmail ! com>
Date:       2004-11-22 8:45:14
Message-ID: 20041122084514.BD04C17024 () office ! kde ! org
[Download RAW message or body]

CVS commit by cartman: 


Revert last. Now it works as intented. But need better code to make psn
happy.


  M +6 -2      prefspagebehaviour.cpp   1.13


--- kdeextragear-2/konversation/konversation/prefspagebehaviour.cpp  #1.12:1.13
@@ -44,5 +44,4 @@ PrefsPageBehaviour::PrefsPageBehaviour(Q
   connect(trayIconCheck, SIGNAL(toggled(bool)), trayNotifyCheck, \
SLOT(setEnabled(bool)));  connect(trayIconCheck, SIGNAL(toggled(bool)), \
                trayOnlyCheck, SLOT(setEnabled(bool)));
-  connect(trayIconCheck, SIGNAL(toggled(bool)), trayOnlyCheck, \
SLOT(setChecked(bool)));  
   rawLogCheck = new QCheckBox(i18n("Show ra&w log window on application startup"), \
parentFrame, "raw_log_check"); @@ -176,5 +175,10 @@ void \
PrefsPageBehaviour::applyPreference  {
   preferences->setShowTrayIcon(trayIconCheck->isChecked());
+
+  if (trayIconCheck->isChecked())
   preferences->setSystrayOnly(trayOnlyCheck->isChecked());
+  else
+      preferences->setSystrayOnly(false);
+
   preferences->setRawLog(rawLogCheck->isChecked());
   preferences->setShowServerList(showServerList->isChecked());


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic