From 327901e145fbda038477cbd7606b633a88c0e0b9 Mon Sep 17 00:00:00 2001 From: Daniel Lim Wee Soong Date: Fri, 16 Mar 2018 12:24:16 +0800 Subject: [PATCH] citra_qt: Remove reference to debugger/console --- src/citra_qt/main.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index c164eeb81..2c54c1539 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -20,7 +20,6 @@ #include "citra_qt/compatdb.h" #include "citra_qt/configuration/config.h" #include "citra_qt/configuration/configure_dialog.h" -#include "citra_qt/debugger/console.h" #include "citra_qt/debugger/graphics/graphics.h" #include "citra_qt/debugger/graphics/graphics_breakpoints.h" #include "citra_qt/debugger/graphics/graphics_cmdlists.h" @@ -35,7 +34,6 @@ #include "citra_qt/main.h" #include "citra_qt/ui_settings.h" #include "citra_qt/updater/updater.h" -#include "common/common_paths.h" #include "common/logging/backend.h" #include "common/logging/filter.h" #include "common/logging/log.h" @@ -371,7 +369,6 @@ void GMainWindow::RestoreUIState() { ui.action_Show_Status_Bar->setChecked(UISettings::values.show_status_bar); statusBar()->setVisible(ui.action_Show_Status_Bar->isChecked()); - Debugger::ToggleConsole(); } void GMainWindow::ConnectWidgetEvents() { @@ -1298,6 +1295,9 @@ void GMainWindow::SyncMenuUISettings() { #endif int main(int argc, char* argv[]) { + Log::Filter log_filter(Log::Level::Info); + Log::SetFilter(&log_filter); + MicroProfileOnThreadCreate("Frontend"); SCOPE_EXIT({ MicroProfileShutdown(); }); @@ -1314,9 +1314,7 @@ int main(int argc, char* argv[]) { GMainWindow main_window; // After settings have been loaded by GMainWindow, apply the filter - Log::Filter log_filter; log_filter.ParseFilterString(Settings::values.log_filter); - Log::SetFilter(&log_filter); main_window.show(); return app.exec();