all repos — mgba @ d53004650d5fbf3bc5b3f830e4fce604bee70132

mGBA Game Boy Advance Emulator

Qt: Set window flags on dialogs
Jeffrey Pfau jeffrey@endrift.com
Mon, 01 Feb 2016 00:01:29 -0800
commit

d53004650d5fbf3bc5b3f830e4fce604bee70132

parent

c69c34ab2d419fa5ca605094e4afbb8f9e406a47

2 files changed, 4 insertions(+), 2 deletions(-)

jump to
M src/platform/qt/ROMInfo.cppsrc/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.cppsrc/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("")