Merge pull request #6022 from spycrab/qt_sw_dialog

Qt/SettingsWindow: Fix window not being detected as a dialog
This commit is contained in:
Mat M 2017-09-04 14:06:13 -04:00 committed by GitHub
commit 3e47baa40c

View File

@ -26,7 +26,7 @@ GraphicsWindow::GraphicsWindow(X11Utils::XRRConfiguration* xrr_config, MainWindo
ConnectWidgets();
setWindowTitle(tr("Graphics"));
setWindowFlags(Qt::Window);
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
OnBackendChanged(QString::fromStdString(SConfig::GetInstance().m_strVideoBackend));