[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/kmail
From: Volker Krause <volker.krause () rwth-aachen ! de>
Date: 2004-08-31 12:45:58
Message-ID: 20040831124558.99F0A1D62 () office ! kde ! org
[Download RAW message or body]
CVS commit by vkrause:
Write the password immediately to the wallet when migrating since SMTP servers are not kept in memory, we \
will lose it otherwise.
Fixes migration of SMTP accounts to kwallet at least partly.
M +3 -1 kmtransport.cpp 1.41
--- kdepim/kmail/kmtransport.cpp #1.40:1.41
@@ -90,4 +90,5 @@ void KMTransportInfo::readConfig(int id)
config->deleteEntry( "pass" );
mPasswdDirty = true;
+ writeConfig( id );
} else {
// read password if wallet is open, defer otherwise
@@ -126,5 +127,6 @@ void KMTransportInfo::writeConfig(int id
i18n("KWallet is Not Running."), "KWalletWarning" );
config->writeEntry( "pass", KMAccount::encryptStr( passwd() ) );
- }
+ } else
+ mPasswdDirty = false;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic