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

List:       kde-commits
Subject:    kdebase/kcontrol/keys
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2004-09-07 14:16:04
Message-ID: 20040907141604.BBE7E1CC2 () office ! kde ! org
[Download RAW message or body]

CVS commit by lunakl: 

Fix strange code.


  M +1 -6      main.cpp   1.57


--- kdebase/kcontrol/keys/main.cpp  #1.56:1.57
@@ -183,10 +183,5 @@ extern "C"
         }
         keys->readActions( "Global Shortcuts" );
-
-        // Why are the braces here? -- ellis
-        {
-        KSimpleConfig cfg( "kdeglobals" );
-        cfg.deleteGroup( "Global Shortcuts" );
-        }
+        KGlobal::config()->deleteGroup( "Global Shortcuts", true, true );
 
         kdDebug(125) << "KeyModule::init() - Write Config Bindings\n";


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

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