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

List:       kde-commits
Subject:    kdebase/kcontrol/style
From:       Cristian Tibirna <tibirna () kde ! org>
Date:       2004-04-24 13:40:58
Message-ID: 20040424134058.2100C9A52 () office ! kde ! org
[Download RAW message or body]

CVS commit by tibirna: 

CT: setStyleDirty() on activated() only (not on highlighted()), for all comboboxes (only cbStyle was ok beforehand).


  M +19 -19    kcmstyle.cpp   1.74


--- kdebase/kcontrol/style/kcmstyle.cpp  #1.73:1.74
@@ -354,9 +354,9 @@ KCMStyle::KCMStyle( QWidget* parent, con
         connect( cbEnableEffects,     SIGNAL(toggled(bool)),    this, SLOT(setEffectsDirty()));
         connect( cbEnableEffects,     SIGNAL(toggled(bool)),    this, SLOT(setStyleDirty()));
-        connect( comboTooltipEffect,  SIGNAL(highlighted(int)), this, SLOT(setEffectsDirty()));
-        connect( comboComboEffect,    SIGNAL(highlighted(int)), this, SLOT(setEffectsDirty()));
-        connect( comboMenuEffect,     SIGNAL(highlighted(int)), this, SLOT(setStyleDirty()));
-        connect( comboMenuHandle,     SIGNAL(highlighted(int)), this, SLOT(setStyleDirty()));
-        connect( comboMenuEffectType, SIGNAL(highlighted(int)), this, SLOT(setStyleDirty()));
+        connect( comboTooltipEffect,  SIGNAL(activated(int)), this, SLOT(setEffectsDirty()));
+        connect( comboComboEffect,    SIGNAL(activated(int)), this, SLOT(setEffectsDirty()));
+        connect( comboMenuEffect,     SIGNAL(activated(int)), this, SLOT(setStyleDirty()));
+        connect( comboMenuHandle,     SIGNAL(activated(int)), this, SLOT(setStyleDirty()));
+        connect( comboMenuEffectType, SIGNAL(activated(int)), this, SLOT(setStyleDirty()));
         connect( slOpacity,           SIGNAL(valueChanged(int)),this, SLOT(setStyleDirty()));
         connect( cbMenuShadow,        SIGNAL(toggled(bool)),    this, SLOT(setStyleDirty()));
@@ -367,5 +367,5 @@ KCMStyle::KCMStyle( QWidget* parent, con
         connect( cbIconsOnButtons,      SIGNAL(toggled(bool)),    this, SLOT(setEffectsDirty()));
         connect( cbTearOffHandles,      SIGNAL(toggled(bool)),    this, SLOT(setEffectsDirty()));
-        connect( comboToolbarIcons,     SIGNAL(highlighted(int)), this, SLOT(setToolbarsDirty()));
+        connect( comboToolbarIcons,     SIGNAL(activated(int)), this, SLOT(setToolbarsDirty()));
 
         addWhatsThis();


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

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