Explorar o código

qt: Fix log softlock

Narr the Reg %!s(int64=3) %!d(string=hai) anos
pai
achega
2fbadc7e1f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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) {