[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.4/kdenetwork/kopete/libkopete
From: Olivier Goffart <ogoffart () kde ! org>
Date: 2005-05-29 14:27:46
Message-ID: 1117376866.960917.19733.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 419482 by ogoffart:
Backport fix for Bug 106460: Partial account data remains in kopeterc after account deletion
M +11 -0 kopetepassword.cpp
--- branches/KDE/3.4/kdenetwork/kopete/libkopete/kopetepassword.cpp #419481:419482
@@ -409,6 +409,17 @@
void Kopete::Password::writeConfig()
{
KConfig *config = KGlobal::config();
+ if(!config->hasGroup(d->configGroup))
+ {
+ //### (KOPETE)
+ // if the kopete account has been removed, we have no way to know it.
+ // but we don't want in any case to recreate the group.
+ // see Bug 106460
+ // (the problem is that when we remove the account, we remove the password
+ // also, which cause a call to this function )
+ return;
+ }
+
config->setGroup( d->configGroup );
if ( d->remembered && !d->passwordFromKConfig.isNull() )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic