History

output SSL errors from OAuthWebViewHandler

Stephen Birarda committed 12 years ago

Commit d9033a81 parent 56c24ce2 files · +9 −0Browse files

Showing the changes to interface/src/ui/OAuthWebViewHandler.cpp (1 of 2 files). Show all

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t