[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdelibs/khtml/html
From:       David Faure <faure () kde ! org>
Date:       2005-10-01 9:17:47
Message-ID: 1128158267.800810.15190.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 465919 by dfaure:

OK submitting a form from a local file is a rather rare case, but don't display
a broken kwallet question in that case (fixing my previous commit)


 M  +8 -2      html_formimpl.cpp  


--- branches/KDE/3.5/kdelibs/khtml/html/html_formimpl.cpp #465918:465919
@@ -611,11 +611,17 @@
 
                 bool checkboxResult = false;
                 const int savePassword = KMessageBox::createKMessageBox(dialog, \
QMessageBox::Information, +                                                           \
                formUrl.host().isEmpty() ? // e.g. local file
                                                                             \
                i18n("Konqueror has the ability to store the password "
                                                                                  "in \
                an encrypted wallet. When the wallet is unlocked, it "
                                                                                  \
                "can then automatically restore the login information "
-                                                                                 \
                "next time you visit this site. Do you want to store "
-                                                                                 \
"the information now?"), +                                                            \
"next time you submit this form. Do you want to store " +                             \
"the information now?") : +                                                           \
i18n("Konqueror has the ability to store the password " +                             \
"in an encrypted wallet. When the wallet is unlocked, it " +                          \
"can then automatically restore the login information " +                             \
"next time you visit %1. Do you want to store " +                                     \
                "the information now?").arg(formUrl.host()),
                                                                             \
QStringList(), QString::null, &checkboxResult, KMessageBox::Notify);  
                 if ( savePassword == KDialogBase::Yes ) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic