History

use sheet window modality so OAuth window doesn't take over full screen

Stephen Birarda committed 12 years ago

Commit debd76b1 parent 629a6d41 file · +1 −1Browse files

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

Unified · Split

interface/src/ui/OAuthWebViewHandler.cpp+1−1
@@ -59,7 +59,7 @@ void OAuthWebViewHandler::displayWebviewForAuthorizationURL(const QUrl& authoriz · 58 unmodified lines
59 _activeWebView = new QWebView;59 _activeWebView = new QWebView;
60 60
61 // keep the window on top and delete it when it closes61 // keep the window on top and delete it when it closes
62 _activeWebView->setWindowFlags(Qt::WindowStaysOnTopHint);62 _activeWebView->setWindowFlags(Qt::Sheet | Qt::WindowStaysOnTopHint);
63 _activeWebView->setAttribute(Qt::WA_DeleteOnClose);63 _activeWebView->setAttribute(Qt::WA_DeleteOnClose);
64 64
65 qDebug() << "Displaying QWebView for OAuth authorization at" << authorizationURL.toString();65 qDebug() << "Displaying QWebView for OAuth authorization at" << authorizationURL.toString();

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