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

List:       kde-commits
Subject:    kdenonbeta/kopete/libkopete
From:       Olivier Goffart <ogoffart () tiscalinet ! be>
Date:       2003-07-24 15:40:57
[Download RAW message or body]

CVS commit by ogoffart: 

This fix the bug where you cannot reuse the deffault account color if you 
selected a color in the past.

(this patch has been aproved by Bille)


  M +4 -0      kopeteaccount.cpp   1.40


--- kdenonbeta/kopete/libkopete/kopeteaccount.cpp  #1.39:1.40
@@ -130,4 +130,6 @@ void KopeteAccount::writeConfig( const Q
         if( !d->password.isNull() )
                 config->writeEntry( "Password", cryptStr( d->password ) );
+        else
+                config->deleteEntry( "Password" );
 
         config->writeEntry( "AutoConnect", d->autologin );
@@ -135,4 +137,6 @@ void KopeteAccount::writeConfig( const Q
         if( d->color.isValid() )
                 config->writeEntry( "Color", d->color );
+        else
+                config->deleteEntry( "Color" );
 
         // Store other plugin data


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

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