qt: Fix log softlock

This commit is contained in:
Narr the Reg 2023-03-27 12:18:26 -06:00
parent 568d523746
commit 2fbadc7e1f

View File

@ -307,6 +307,8 @@ GMainWindow::GMainWindow(std::unique_ptr<Config> config_, bool has_broken_vulkan
system->Initialize(); system->Initialize();
Common::Log::Initialize(); Common::Log::Initialize();
Common::Log::Start();
LoadTranslation(); LoadTranslation();
setAcceptDrops(true); setAcceptDrops(true);
@ -449,8 +451,6 @@ GMainWindow::GMainWindow(std::unique_ptr<Config> config_, bool has_broken_vulkan
SetupPrepareForSleep(); SetupPrepareForSleep();
Common::Log::Start();
QStringList args = QApplication::arguments(); QStringList args = QApplication::arguments();
if (args.size() < 2) { if (args.size() < 2) {