[kopete-bugs] [Bug 230181] Kopete forgets WLM passwords if password prompt is cancelled

Christopher January chris at atomice.net
Wed May 5 11:19:58 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=230181





--- Comment #1 from Christopher January <chris atomice net>  2010-05-05 11:19:55 ---
I've not heard anything re: this bug, but I now know the cause.
WlmAccount::connectWithPassword does this:
    if (pass.isEmpty ())
    {
        password ().setWrong (true);
        return;
    }
but pass may be empty if the password prompt dialog was cancelled. In that case
KopetePasswordGetRequestPrompt::slotCancelPressed emits finished with
QString::null as the password.
So calling setWrong is, err, wrong. Other protocols either call disconnect
(e.g. JabberAccount::connectWithPassword ) or set the status to offline
(YahooAccount::connectWithPassword).

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list