Showing the changes to interface/src/ui/OAuthWebViewHandler.cpp (1 of 2 files). Show all
Unified · Split
| @@ -32,5 +32,12 @@ void OAuthWebViewHandler::displayWebviewForAuthorizationURL(const QUrl& authoriz · 31 unmodified lines | ||
| 32 | 32 | _activeWebView->setWindowFlags(Qt::WindowStaysOnTopHint); |
| 33 | 33 | _activeWebView->load(authorizationURL); |
| 34 | 34 | _activeWebView->show(); |
| 35 | + | |
| 36 | + connect(_activeWebView->page()->networkAccessManager(), &QNetworkAccessManager::sslErrors, | |
| 37 | + this, &OAuthWebViewHandler::handleSSLErrors); | |
| 35 | 38 | } |
| 36 | 39 | } |
| 40 | + | |
| 41 | +void OAuthWebViewHandler::handleSSLErrors(QNetworkReply* networkReply, const QList<QSslError>& errorList) { | |
| 42 | + qDebug() << "SSL Errors:" << errorList; | |
| 43 | +} | |