Qt: Fix window geometry on launch when window is still hidden
Jeffrey Pfau jeffrey@endrift.com
Fri, 09 Jan 2015 23:23:31 -0800
1 files changed,
4 insertions(+),
4 deletions(-)
jump to
M
src/platform/qt/GBAApp.cpp
→
src/platform/qt/GBAApp.cpp
@@ -26,15 +26,15 @@
QApplication::setApplicationName(PROJECT_NAME); QApplication::setApplicationVersion(PROJECT_VERSION); + m_window.show(); + GBAArguments args = {}; if (m_configController.parseArguments(&args, argc, argv)) { - m_window.argumentsPassed(&args); + m_window.argumentsPassed(&args); } else { - m_window.loadConfig(); + m_window.loadConfig(); } freeArguments(&args); - - m_window.show(); } bool GBAApp::event(QEvent* event) {