mirror of https://github.com/PCSX2/pcsx2.git
Qt: Fix starting after theme change
This commit is contained in:
parent
ac9d406862
commit
f2713462cc
|
@ -70,7 +70,6 @@ void EmuThread::start()
|
|||
g_emu_thread->QThread::start();
|
||||
g_emu_thread->m_started_semaphore.acquire();
|
||||
g_emu_thread->moveToThread(g_emu_thread);
|
||||
g_main_window->connectVMThreadSignals(g_emu_thread);
|
||||
}
|
||||
|
||||
void EmuThread::stop()
|
||||
|
|
|
@ -203,8 +203,8 @@ int main(int argc, char* argv[])
|
|||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
// actually show the window, the emuthread might still be starting up at this point
|
||||
main_window->initialize();
|
||||
EmuThread::start();
|
||||
|
||||
// skip scanning the game list when running in batch mode
|
||||
if (!QtHost::InBatchMode())
|
||||
|
|
|
@ -88,6 +88,7 @@ void MainWindow::initialize()
|
|||
setupAdditionalUi();
|
||||
setStyleFromSettings();
|
||||
connectSignals();
|
||||
connectVMThreadSignals(g_emu_thread);
|
||||
|
||||
restoreStateFromConfig();
|
||||
switchToGameListView();
|
||||
|
|
|
@ -92,6 +92,7 @@ bool QtHost::Initialize()
|
|||
}
|
||||
|
||||
HookSignals();
|
||||
EmuThread::start();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue