qt: Fix log softlock

merge-requests/60/head
Narr the Reg 2023-03-27 12:18:26 +07:00
parent 568d523746
commit 2fbadc7e1f
1 changed files with 2 additions and 2 deletions

@ -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) {