diff options
Diffstat (limited to 'src/networkaccessmanager.cpp')
-rw-r--r-- | src/networkaccessmanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp index 311124e8..d92edbd6 100644 --- a/src/networkaccessmanager.cpp +++ b/src/networkaccessmanager.cpp @@ -97,8 +97,8 @@ void NetworkAccessManager::authenticationRequired(QNetworkReply *reply, QAuthent { MainWindow *mainWindow = Application::instance()->mainWindow(); - KDialog dialog(mainWindow,Qt::Sheet); - dialog.setButtons( KDialog::Ok | KDialog::Cancel ); + KDialog dialog(mainWindow, Qt::Sheet); + dialog.setButtons(KDialog::Ok | KDialog::Cancel); Ui::passwordWidget passwordWidget; QWidget widget; @@ -126,12 +126,12 @@ void NetworkAccessManager::proxyAuthenticationRequired(const QNetworkProxy &prox MainWindow *mainWindow = Application::instance()->mainWindow(); KDialog dialog(mainWindow, Qt::Sheet); - dialog.setButtons( KDialog::Ok | KDialog::Cancel ); + dialog.setButtons(KDialog::Ok | KDialog::Cancel); Ui::proxyWidget proxyWdg; QWidget widget; proxyWdg.setupUi(&widget); - + dialog.setMainWidget(&widget); proxyWdg.iconLabel->setText(QString()); |