Qt: Fix multiplayer windows opening as the wrong size

This commit is contained in:
Jeffrey Pfau 2015-04-19 04:31:50 -07:00
parent b84c421865
commit 049e3639d1
2 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,7 @@ Bugfixes:
- 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

View File

@ -658,9 +658,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");