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

List:       kde-commits
Subject:    kdelibs/arts/knotify
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2004-02-17 19:29:13
Message-ID: 20040217192913.EED1D9672 () office ! kde ! org
[Download RAW message or body]

CVS commit by aseigo: 

if the user has asked for arts not to be started, don't start arts. sounds
obvious in retrospect, doesn't it? ;-)


  M +3 -1      knotify.cpp   1.89


--- kdelibs/arts/knotify/knotify.cpp  #1.88:1.89
@@ -124,5 +124,7 @@ int kdemain(int argc, char **argv)
 
     KConfigGroup config( KGlobal::config(), "StartProgress" );
-    bool useArts = config.readBoolEntry( "Use Arts", true );
+    KConfig artsKCMConfig( "kcmartsrc" );
+    artsKCMConfig.setGroup( "Arts" );
+    bool useArts = config.readBoolEntry( "Use Arts", artsKCMConfig.readBoolEntry("StartServer",true) );
     bool ok = config.readBoolEntry( "Arts Init", true );
 


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

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