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

List:       kde-commits
Subject:    kdebase/kcontrol/style
From:       Matthias Kretz <kretz () kde ! org>
Date:       2003-09-17 18:53:45
[Download RAW message or body]

CVS commit by mkretz: 

reverting the revert: this doesn't fix the problem - if there is one it has
to fixed somewhere else. Only that I'm unable to reproduce it... so if
somebody has problems with the Apply button not being enabled in KControl
for the style module please let me know that we might find the cause.


  M +4 -5      kcmstyle.cpp   1.60


--- kdebase/kcontrol/style/kcmstyle.cpp  #1.59:1.60
@@ -1,5 +1,3 @@
 /*
- * $Id$
- *
  * KCMStyle
  * Copyright (C) 2002 Karol Szwed <gallium@kde.org>
@@ -536,4 +534,5 @@ void KCMStyle::save()
         m_bToolbarsDirty = false;
         m_bStyleDirty    = false;
+        setChanged( false );
 }
 
@@ -626,5 +625,5 @@ void KCMStyle::setEffectsDirty()
 {
         m_bEffectsDirty = true;
-        emit changed(true);
+        setChanged(true);
 }
 
@@ -632,5 +631,5 @@ void KCMStyle::setToolbarsDirty()
 {
         m_bToolbarsDirty = true;
-        emit changed(true);
+        setChanged(true);
 }
 
@@ -638,5 +637,5 @@ void KCMStyle::setStyleDirty()
 {
         m_bStyleDirty = true;
-        emit changed(true);
+        setChanged(true);
 }
 


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

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