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
5959 _activeWebView = new QWebView;
6060
6161 // keep the window on top and delete it when it closes
62− _activeWebView->setWindowFlags(Qt::WindowStaysOnTopHint);
62+ _activeWebView->setWindowFlags(Qt::Sheet | Qt::WindowStaysOnTopHint);
6363 _activeWebView->setAttribute(Qt::WA_DeleteOnClose);
6464
6565 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