mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:25:52 +02:00
Merge pull request #2841 from birarda/master
use sheet modality so OAuth window doesn't take over full screen
This commit is contained in:
commit
f03e9f8364
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ void OAuthWebViewHandler::displayWebviewForAuthorizationURL(const QUrl& authoriz
|
||||||
_activeWebView = new QWebView;
|
_activeWebView = new QWebView;
|
||||||
|
|
||||||
// keep the window on top and delete it when it closes
|
// keep the window on top and delete it when it closes
|
||||||
_activeWebView->setWindowFlags(Qt::WindowStaysOnTopHint);
|
_activeWebView->setWindowFlags(Qt::Sheet | Qt::WindowStaysOnTopHint);
|
||||||
_activeWebView->setAttribute(Qt::WA_DeleteOnClose);
|
_activeWebView->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
|
|
||||||
qDebug() << "Displaying QWebView for OAuth authorization at" << authorizationURL.toString();
|
qDebug() << "Displaying QWebView for OAuth authorization at" << authorizationURL.toString();
|
||||||
|
|
Loading…
Reference in a new issue