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();