Summary: | Deleted IRC-accounts stay in add-contact context-menu. The Kopete application has to be re-startet to remove its item. | ||
---|---|---|---|
Product: | [Applications] kopete | Reporter: | norbert.notz |
Component: | Main Application | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 0.7.3 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
norbert.notz
2003-12-15 21:00:21 UTC
This isn'yt an IRC bug, its a genera Kopete bug. The same thing happens with all types of accounts. Subject: kdenetwork/kopete/libkopete CVS commit by mattr: Fix bug 70528. Remove the account from the accounts list before you delete it. CCMAIL: 70528@bugs.kde.org M +3 -1 kopeteaccountmanager.cpp 1.44 --- kdenetwork/kopete/libkopete/kopeteaccountmanager.cpp #1.43:1.44 @@ -208,4 +208,7 @@ void KopeteAccountManager::removeAccount QString groupName = account->configGroup(); + // Clean up the account list + d->accounts.remove( account ); + delete account; @@ -228,5 +231,4 @@ void KopeteAccountManager::unregisterAcc { kdDebug(14010) << k_funcinfo << "Unregistering account " << account->accountId() << endl; - d->accounts.remove( account ); emit accountUnregistered( account ); } Subject: KDE_3_2_BRANCH: kdenetwork/kopete/libkopete CVS commit by mattr: Backport of the fix for bug 70528. Remove accounts from the list before deletion. CCMAIL: 70528-done@bugs.kde.org M +3 -1 kopeteaccountmanager.cpp 1.43.2.1 --- kdenetwork/kopete/libkopete/kopeteaccountmanager.cpp #1.43:1.43.2.1 @@ -208,4 +208,7 @@ void KopeteAccountManager::removeAccount QString groupName = account->configGroup(); + // Clean up the account list + d->accounts.remove( account ); + delete account; @@ -228,5 +231,4 @@ void KopeteAccountManager::unregisterAcc { kdDebug(14010) << k_funcinfo << "Unregistering account " << account->accountId() << endl; - d->accounts.remove( account ); emit accountUnregistered( account ); } |