mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix multiplayer windows opening as the wrong size
This commit is contained in:
parent
3b0e0c7178
commit
d0e1a5d5d2
1
CHANGES
1
CHANGES
|
@ -15,6 +15,7 @@ Bugfixes:
|
|||
- GBA Memory: Allow SRAM to be 64kB
|
||||
- Qt: Fix controller axis querying
|
||||
- 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
|
||||
- Qt: Solar sensor can have shortcuts set
|
||||
|
|
|
@ -612,9 +612,14 @@ void Window::setupMenu(QMenuBar* menubar) {
|
|||
}
|
||||
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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue