mirror of https://github.com/mgba-emu/mgba.git
Qt: Show window later that usual to ensure that it scales properly initially
This commit is contained in:
parent
19758d7115
commit
43ddcf56cc
|
@ -26,7 +26,9 @@ GBAApp::GBAApp(int& argc, char* argv[])
|
|||
QApplication::setApplicationName(PROJECT_NAME);
|
||||
QApplication::setApplicationVersion(PROJECT_VERSION);
|
||||
|
||||
#ifndef Q_OS_MAC
|
||||
m_window.show();
|
||||
#endif
|
||||
|
||||
GBAArguments args = {};
|
||||
if (m_configController.parseArguments(&args, argc, argv)) {
|
||||
|
@ -35,6 +37,10 @@ GBAApp::GBAApp(int& argc, char* argv[])
|
|||
m_window.loadConfig();
|
||||
}
|
||||
freeArguments(&args);
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
m_window.show();
|
||||
#endif
|
||||
}
|
||||
|
||||
bool GBAApp::event(QEvent* event) {
|
||||
|
|
Loading…
Reference in New Issue