Commit 5c5eec2e authored by Sergio Luis Martins's avatar Sergio Luis Martins
Browse files

Store the password in kwallet after asking the user, on non-wince platforms.

It was only being stored on account setup.

andris: please test.

svn path=/trunk/KDE/kdepim/runtime/; revision=1198068
parent 9f6ab46d
......@@ -155,8 +155,11 @@ void Settings::onDialogFinished( int result )
if ( result == QDialog::Accepted ) {
KPasswordDialog *dlg = qobject_cast<KPasswordDialog*>( sender() );
#ifdef Q_OS_WINCE
setPassword( dlg->password() );
// no wallet.
SettingsBase::setPassword( dlg->password() );
writeConfig();
#else
setPassword( dlg->password() );
#endif
emit passwordRequestCompleted( dlg->password(), false );
} else {
......
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