Qt/SettingsWindow: Fix window not being detected as a dialog by some window managers
This commit is contained in:
parent
018ad98714
commit
a361a1deed
|
@ -26,7 +26,7 @@ GraphicsWindow::GraphicsWindow(X11Utils::XRRConfiguration* xrr_config, MainWindo
|
||||||
ConnectWidgets();
|
ConnectWidgets();
|
||||||
|
|
||||||
setWindowTitle(tr("Graphics"));
|
setWindowTitle(tr("Graphics"));
|
||||||
setWindowFlags(Qt::Window);
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
|
|
||||||
OnBackendChanged(QString::fromStdString(SConfig::GetInstance().m_strVideoBackend));
|
OnBackendChanged(QString::fromStdString(SConfig::GetInstance().m_strVideoBackend));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue