Qt: Set window flags on dialogs
Jeffrey Pfau jeffrey@endrift.com
Mon, 01 Feb 2016 00:01:29 -0800
2 files changed,
4 insertions(+),
2 deletions(-)
M
src/platform/qt/ROMInfo.cpp
→
src/platform/qt/ROMInfo.cpp
@@ -14,7 +14,9 @@ }
using namespace QGBA; -ROMInfo::ROMInfo(GameController* controller, QWidget* parent) { +ROMInfo::ROMInfo(GameController* controller, QWidget* parent) + : QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint) +{ m_ui.setupUi(this); if (!controller->isLoaded()) {
M
src/platform/qt/ShaderSelector.cpp
→
src/platform/qt/ShaderSelector.cpp
@@ -28,7 +28,7 @@
using namespace QGBA; ShaderSelector::ShaderSelector(Display* display, ConfigController* config, QWidget* parent) - : QDialog(parent) + : QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint) , m_display(display) , m_config(config) , m_shaderPath("")