mirror of
https://github.com/libretro/mgba.git
synced 2024-12-02 21:37:10 +00:00
Qt: Show window later that usual to ensure that it scales properly initially
This commit is contained in:
parent
19758d7115
commit
43ddcf56cc
@ -23,18 +23,24 @@ GBAApp::GBAApp(int& argc, char* argv[])
|
||||
SDL_Init(SDL_INIT_NOPARACHUTE);
|
||||
#endif
|
||||
|
||||
QApplication::setApplicationName(PROJECT_NAME);
|
||||
QApplication::setApplicationVersion(PROJECT_VERSION);
|
||||
QApplication::setApplicationName(PROJECT_NAME);
|
||||
QApplication::setApplicationVersion(PROJECT_VERSION);
|
||||
|
||||
m_window.show();
|
||||
#ifndef Q_OS_MAC
|
||||
m_window.show();
|
||||
#endif
|
||||
|
||||
GBAArguments args = {};
|
||||
if (m_configController.parseArguments(&args, argc, argv)) {
|
||||
if (m_configController.parseArguments(&args, argc, argv)) {
|
||||
m_window.argumentsPassed(&args);
|
||||
} else {
|
||||
} else {
|
||||
m_window.loadConfig();
|
||||
}
|
||||
}
|
||||
freeArguments(&args);
|
||||
|
||||
#ifdef Q_OS_MAC
|
||||
m_window.show();
|
||||
#endif
|
||||
}
|
||||
|
||||
bool GBAApp::event(QEvent* event) {
|
||||
|
Loading…
Reference in New Issue
Block a user