Commit 56a1872a authored by Allen Winter's avatar Allen Winter
Browse files

make parentless KPasswordDialogs modal, with the hope the user

will be less likely to miss them now.

BUG: 313167
FIXED-IN: 4.10
parent 91da5bc2
......@@ -149,6 +149,7 @@ void Settings::onWalletOpened( bool success )
void Settings::requestManualAuth()
{
KPasswordDialog *dlg = new KPasswordDialog( 0 );
dlg->setModal( true );
dlg->setPrompt( i18n( "Please enter password for user '%1' on IMAP server '%2'.",
userName(), imapServer() ) );
dlg->setAttribute( Qt::WA_DeleteOnClose );
......
......@@ -195,6 +195,7 @@ void POP3Resource::showPasswordDialog( const QString &queryText )
new KPasswordDialog(
0,
KPasswordDialog::ShowUsernameLine );
dlg->setModal( true );
dlg->setUsername( Settings::self()->login() );
dlg->setPassword( mPassword );
dlg->setPrompt( queryText );
......
Supports Markdown
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