1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Fix cancelling http/proxy authentication

Closes #1980
This commit is contained in:
David Rosca 2016-06-06 10:51:09 +02:00
parent 4b6730b196
commit c270f143e8

View File

@ -148,6 +148,7 @@ void NetworkManager::authentication(const QUrl &url, QAuthenticator *auth, QWidg
}
if (dialog->exec() != QDialog::Accepted) {
*auth = QAuthenticator();
delete dialog;
return;
}
@ -206,6 +207,7 @@ void NetworkManager::proxyAuthentication(const QString &proxyHost, QAuthenticato
formLa->addWidget(box);
if (dialog->exec() != QDialog::Accepted) {
*auth = QAuthenticator();
delete dialog;
return;
}