diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-07 15:19:33 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-07 15:19:33 +0200 |
commit | 3b4aa1a6cc3250978e26d5ca3bff7b7adcd1ac97 (patch) | |
tree | 2d96630ffeb8d6607592b07d87275eb8501baf81 /src/networkaccessmanager.cpp | |
parent | Merge commit 'megabigbug/query' (diff) | |
download | rekonq-3b4aa1a6cc3250978e26d5ca3bff7b7adcd1ac97.tar.xz |
Krazy fixes. Part 2.
- KDE classes in ui files
- Ui dialog deleteLater
- const in for each loop (apart from the QWebFrame one..)
Diffstat (limited to 'src/networkaccessmanager.cpp')
-rw-r--r-- | src/networkaccessmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp index 3eeedd4d..c57d3fa7 100644 --- a/src/networkaccessmanager.cpp +++ b/src/networkaccessmanager.cpp @@ -153,7 +153,7 @@ void NetworkAccessManager::authenticationRequired(QNetworkReply *reply, QAuthent auth->setUser(passwordWidget.userNameLineEdit->text()); auth->setPassword(passwordWidget.passwordLineEdit->text()); } - delete dialog; + dialog->deleteLater(); } @@ -182,7 +182,7 @@ void NetworkAccessManager::proxyAuthenticationRequired(const QNetworkProxy &prox auth->setUser(proxyWdg.userNameLineEdit->text()); auth->setPassword(proxyWdg.passwordLineEdit->text()); } - delete dialog; + dialog->deleteLater(); } |