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

List:       kde-commits
Subject:    branches/KDE/3.5/kdepim/kmail
From:       Luís Pedro Coelho <luis () luispedro ! org>
Date:       2005-10-15 17:02:36
Message-ID: 1129395756.199211.24042.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 470926 by luis_pedro:

Check correctly for whether we are enabling the index


 M  +1 -1      index.cpp  


--- branches/KDE/3.5/kdepim/kmail/index.cpp #470925:470926
@@ -167,7 +167,7 @@
 	kdDebug( 5006 ) << "KMMsgIndex::setEnabled( " << e << " )" << endl;
 	KConfig* config = KMKernel::config();
 	KConfigGroupSaver saver( config, "text-index" );
-	if ( config->readBoolEntry( "enabled", e ) == e ) return;
+	if ( config->readBoolEntry( "enabled", !e ) == e ) return;
 	config->writeEntry( "enabled", e );
 	if ( e ) {
 		switch ( mState ) {
[prev in list] [next in list] [prev in thread] [next in thread] 

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