diff options
author | adjam <adjam@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-05-28 10:10:05 +0000 |
---|---|---|
committer | adjam <adjam@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-05-28 10:10:05 +0000 |
commit | bdb621bd5e76b656585eed1ff154b3dd43d7383c (patch) | |
tree | 0ac70cc8977a9afacf23982d983876b999cb796e /src/networkaccessmanager.cpp | |
parent | Merge branch 'master' into local-svn (diff) | |
parent | Fixed mainwindow conflicts (diff) | |
download | rekonq-bdb621bd5e76b656585eed1ff154b3dd43d7383c.tar.xz |
Merge branch 'master' into local-svn
git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/playground/network/rekonq@973968 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/networkaccessmanager.cpp')
-rw-r--r-- | src/networkaccessmanager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp index 7f05bf1c..2eba844a 100644 --- a/src/networkaccessmanager.cpp +++ b/src/networkaccessmanager.cpp @@ -42,7 +42,6 @@ #include <QtCore/QPointer> #include <QtCore/QIODevice> -#include <QtGui/QDialog> #include <QtGui/QStyle> #include <QtGui/QTextDocument> @@ -121,7 +120,7 @@ void NetworkAccessManager::authenticationRequired(QNetworkReply *reply, QAuthent passwordWidget.introLabel->setText(introMessage); passwordWidget.introLabel->setWordWrap(true); - if (dialog->exec() == QDialog::Accepted) + if (dialog->exec() == KDialog::Ok) { auth->setUser(passwordWidget.userNameLineEdit->text()); auth->setPassword(passwordWidget.passwordLineEdit->text()); @@ -150,7 +149,7 @@ void NetworkAccessManager::proxyAuthenticationRequired(const QNetworkProxy &prox proxyWdg.introLabel->setText(introMessage); proxyWdg.introLabel->setWordWrap(true); - if (dialog->exec() == QDialog::Accepted) + if (dialog->exec() == KDialog::Ok) { auth->setUser(proxyWdg.userNameLineEdit->text()); auth->setPassword(proxyWdg.passwordLineEdit->text()); |