all repos — mgba @ 049e3639d1d692c74980892e0c3e07a35ecd9d68

mGBA Game Boy Advance Emulator

Qt: Fix multiplayer windows opening as the wrong size
Jeffrey Pfau jeffrey@endrift.com
Sun, 19 Apr 2015 04:31:50 -0700
commit

049e3639d1d692c74980892e0c3e07a35ecd9d68

parent

b84c4218651547f56285bb5f38006aeb027aee87

2 files changed, 6 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -30,6 +30,7 @@ - GBA Memory: Allow SRAM to be 64kB

- Qt: Fix controller axis querying - GBA Memory: Improve Thumb open bus behavior - GBA Memory: Fix 32-bit loads from unaddress cartridge space + - Qt: Fix multiplayer windows opening as the wrong size Misc: - Qt: Show multiplayer numbers in window title
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -658,9 +658,14 @@ m_controller->setMultiplayerController(multiplayer);

} Window* w2 = new Window(m_config, multiplayer->attached()); w2->setAttribute(Qt::WA_DeleteOnClose); +#ifndef Q_OS_MAC + w2->show(); +#endif w2->loadConfig(); w2->controller()->setMultiplayerController(multiplayer); +#ifdef Q_OS_MAC w2->show(); +#endif }); addControlledAction(fileMenu, multiWindow, "multiWindow");