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

List:       kde-commits
Subject:    kdebase/ksplashml/kcmksplash
From:       Matthias Kretz <kretz () kde ! org>
Date:       2003-09-22 19:48:27
[Download RAW message or body]

CVS commit by mkretz: 

properly set changed state using setChanged


  M +3 -0      installer.cpp   1.5
  M +1 -1      main.cpp   1.4


--- kdebase/ksplashml/kcmksplash/installer.cpp  #1.4:1.5
@@ -223,4 +223,5 @@ void SplashInstaller::defaults()
 {
   mThemesList->setCurrentItem(findTheme("Default"));
+  emit changed( true );
 }
 
@@ -231,4 +232,5 @@ void SplashInstaller::load()
   QString curTheme = cnf.readEntry("Theme","Default");
   mThemesList->setCurrentItem(findTheme(curTheme));
+  emit changed( false );
 }
 
@@ -247,4 +249,5 @@ void SplashInstaller::save()
   cnf.writeEntry("Theme", path.mid(cur+1) );
   cnf.sync();
+  emit changed( false );
 }
 

--- kdebase/ksplashml/kcmksplash/main.cpp  #1.3:1.4
@@ -57,5 +57,5 @@ KSplashThemeMgr::KSplashThemeMgr( QWidge
   box->addWidget(tab);
   tab->addTab( mInstaller, i18n("&Theme Installer") );
-  connect( mInstaller, SIGNAL(changed(bool)), SIGNAL(changed(bool)) );
+  connect( mInstaller, SIGNAL(changed(bool)), SLOT(setChanged(bool)) );
 }
 


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

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