[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 76097] Kmail integration with Kwallet
From: Volker Krause <volker.krause () rwth-aachen ! de>
Date: 2004-09-04 11:54:22
Message-ID: 20040904115422.6240.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=76097
------- Additional Comments From volker.krause rwth-aachen de 2004-09-04 13:54 \
------- CVS commit by vkrause:
Use the password accessor function instead of the member variable directly, since the \
password is not loaded from the wallet otherwise.
This explains why the wallet patch broke POP3 accounts while it worked for IMAP \
accounts.
CCMAIL: 76097 bugs kde org
M +4 -4 kmacctexppop.cpp 1.173
--- kdepim/kmail/kmacctexppop.cpp #1.172:1.173
@ -118,7 +118,7 @ void KMAcctExpPop::processNewMail(bool _
if (stage == Idle) {
- if(mAskAgain || mPasswd.isEmpty() || mLogin.isEmpty()) {
- QString passwd = decryptStr(mPasswd);
- bool b = FALSE;
+ if(mAskAgain || passwd().isEmpty() || mLogin.isEmpty()) {
+ QString passwd = NetworkAccount::passwd();
+ bool b = storePasswd();
if (KIO::PasswordDialog::getNameAndPassword(mLogin, passwd, &b,
i18n("You need to supply a username and a password to access this "
@ -129,5 +129,5 @ void KMAcctExpPop::processNewMail(bool _
return;
} else {
- mPasswd = encryptStr(passwd);
+ setPasswd( passwd, b );
mAskAgain = FALSE;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic