1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

Fix cancelling http/proxy authentication

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

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;
}