mirror of https://github.com/mgba-emu/mgba.git
Qt: Set window flags on dialogs
This commit is contained in:
parent
c69c34ab2d
commit
d53004650d
|
@ -14,7 +14,9 @@ extern "C" {
|
|||
|
||||
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()) {
|
||||
|
|
|
@ -28,7 +28,7 @@ extern "C" {
|
|||
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("")
|
||||
|
|
Loading…
Reference in New Issue