Merge pull request #10002 from german77/log

qt: Fix log softlock
This commit is contained in:
liamwhite 2023-03-27 15:37:44 -04:00 committed by GitHub
commit fbbf532d42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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