mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
more repairs to OAuth signal/slot connection
This commit is contained in:
parent
2dacc81960
commit
1f35c07420
1 changed files with 2 additions and 2 deletions
|
@ -85,10 +85,10 @@ void OAuthWebViewHandler::displayWebviewForAuthorizationURL(const QUrl& authoriz
|
|||
|
||||
connect(_activeWebView->page()->networkAccessManager(), &QNetworkAccessManager::sslErrors,
|
||||
this, &OAuthWebViewHandler::handleSSLErrors);
|
||||
connect(_activeWebView, &QWebView::loadFinished, this, &OAuthWebViewHandler::handleLoadFinished);
|
||||
connect(_activeWebView.data(), &QWebView::loadFinished, this, &OAuthWebViewHandler::handleLoadFinished);
|
||||
|
||||
// connect to the destroyed signal so after the web view closes we can start a timer
|
||||
connect(_activeWebView, SIGNAL(destroyed(QObject*)), this, SLOT(handleWebViewDestroyed(QObject*)));
|
||||
connect(_activeWebView.data(), &QWebView::destroyed, this, &OAuthWebViewHandler::handleWebViewDestroyed);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue