浏览代码

qt: Fix log softlock

Narr the Reg 3 年之前
父节点
当前提交
2fbadc7e1f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/yuzu/main.cpp

+ 2 - 2
src/yuzu/main.cpp

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