summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
authorSean <seanmaas27@gmail.com>2014-10-27 22:18:28 +0100
committerSean <seanmaas27@gmail.com>2014-11-03 23:00:32 +0100
commit371b61f3eaf6ad8bc35311d906c8d780d1531f8b (patch)
tree9eb38c4d0033ba414b749f7905ff91ec0e7a93bc /src/citra_qt/main.cpp
parentMerge pull request #154 from lioncash/dyncom (diff)
downloadyuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.tar
yuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.tar.gz
yuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.tar.bz2
yuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.tar.lz
yuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.tar.xz
yuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.tar.zst
yuzu-371b61f3eaf6ad8bc35311d906c8d780d1531f8b.zip
Diffstat (limited to 'src/citra_qt/main.cpp')
-rw-r--r--src/citra_qt/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index bac6a6bb8..c99f92835 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -22,6 +22,7 @@
#include "debugger/graphics.hxx"
#include "debugger/graphics_cmdlists.hxx"
+#include "core/settings.h"
#include "core/system.h"
#include "core/core.h"
#include "core/loader/loader.h"
@@ -34,8 +35,12 @@
GMainWindow::GMainWindow()
{
LogManager::Init();
+
Config config;
+ if (!Settings::values.enable_log)
+ LogManager::Shutdown();
+
ui.setupUi(this);
statusBar()->hide();