Commit c1ffc086 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix Bug 279325 - access to kwallet is not closed after closing kmail

Close kwallet when we go offline, and clear password

CCBUG: 279325
parent 06142566
......@@ -1014,6 +1014,9 @@ void POP3Resource::doSetOnline( bool online )
cancelSync( i18n( "Mail check aborted after going offline." ), false /* no error */ );
}
emit status( Idle, i18n("Offline") );
delete mWallet;
mWallet = 0;
clearCachedPassword();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment