Summary: | PATCH: Kopete crashes when not connecting to any network after initial configuration | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | Christian Blichmann <kdebugs> |
Component: | general | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | fe_kde |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch for the bug |
Description
Christian Blichmann
2007-01-07 12:52:24 UTC
Created attachment 19305 [details]
Patch for the bug
Here is the patch.
My first patch for :-)
SVN commit 625072 by wstephens: Catch the empty ICQ UIN case when creating an account, which would crash Kopete. Patch by Felix <fe_kde@gmx.de>, received with thanks :). BUG:139719 M +1 -1 icqeditaccountwidget.cpp --- branches/KDE/3.5/kdenetwork/kopete/protocols/oscar/icq/ui/icqeditaccountwidget.cpp #625071:625072 @@ -166,7 +166,7 @@ QString userName = mAccountSettings->edtAccountId->text(); - if (userName.contains(" ")) + if (userName.isEmpty()) return false; for (unsigned int i=0; i<userName.length(); i++) |