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

List:       kde-commits
Subject:    branches/KDE/3.5/kdebase/kcontrol/ebrowsing/plugins/shorturi
From:       Dirk Mueller <mueller () kde ! org>
Date:       2005-11-02 12:55:06
Message-ID: 1130936106.024744.18284.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 476934 by mueller:

fix uninitialized variable access



 M  +3 -2      kshorturifilter.cpp  


--- branches/KDE/3.5/kdebase/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp #476933:476934
@@ -513,12 +513,13 @@
 
 void KShortURIFilter::configure()
 {
+  KConfig config( name() + QFL1("rc"), false, false );
+  m_bVerbose = config.readBoolEntry( "Verbose", false );
+
   if ( m_bVerbose )
     kdDebug() << "KShortURIFilter::configure: Config reload request..." << endl;
 
-  KConfig config( name() + QFL1("rc"), false, false );
   m_strDefaultProtocol = config.readEntry( "DefaultProtocol", QFL1("http://") );
-  m_bVerbose = config.readBoolEntry( "Verbose", false );
   EntryMap patterns = config.entryMap( QFL1("Pattern") );
   const EntryMap protocols = config.entryMap( QFL1("Protocol") );
   config.setGroup("Type");
[prev in list] [next in list] [prev in thread] [next in thread] 

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