[Bug 46657] Re: Kopete gives error when you're on your own contact list
js at lastlog.de
Sun Feb 10 03:35:02 UTC 2008
this patch is hopefully what we want. a kopete developer noticed when
using information() instead of using queuedMessageBox() might crash
kopete. i couldn't reproduce this and i tried pretty hard. maybe someone
else has more luck crashing it.
i will post this bug in the kopete bug tracker as well.
# diff kopeteaccount.cpp /tmp/kopeteaccount.cpp
< KMessageBox::queuedMessageBox( Kopete::UI::Global::mainWidget(), KMessageBox::Error,
< i18n("You are not allowed to add yourself to the contact list. The addition of \"%1\" to account \"%2\" will not take place.").arg(contactId,accountId()), i18n("Error Creating Contact")
> QString text = QString().fromAscii("You can't add your own contact to your own contact list in kopete!");
> QString caption = QString().fromAscii("icq contact issue");
> QString name = QString().fromAscii("kopete won't add your own contact to your own contact list");
> KMessageBox::information(Kopete::UI::Global::mainWidget(), text, caption, name);
> // this function will be called if you're own contact id wasn't yet added to your
> // contact list
Kopete gives error when you're on your own contact list
You received this bug notification because you are a member of Kubuntu
Team, which is a direct subscriber.
More information about the kubuntu-bugs