diff options
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 6f0e2a3e..cbf263b6 100644 --- a/src/networkaccessmanager.cpp +++ b/src/networkaccessmanager.cpp @@ -41,7 +41,6 @@ // Qt Includes #include <QtCore/QPointer> -#include <QtGui/QDialog> #include <QtGui/QStyle> #include <QtGui/QTextDocument> @@ -118,7 +117,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()); @@ -147,7 +146,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()); |