diff --git a/src/citra_qt/configuration/config.h b/src/citra_qt/configuration/config.h index 2134508efa..2c740ea137 100644 --- a/src/citra_qt/configuration/config.h +++ b/src/citra_qt/configuration/config.h @@ -17,7 +17,7 @@ class Config { void ReadValues(); void SaveValues(); - void LogSetting(const QString& name, const QVariant& value); + static void LogSetting(const QString& name, const QVariant& value); public: Config(); @@ -25,7 +25,7 @@ public: void Reload(); void Save(); - void LogSettings(); + static void LogSettings(); static const std::array default_buttons; static const std::array, Settings::NativeAnalog::NumAnalogs> default_analogs; diff --git a/src/citra_qt/configuration/configure_dialog.cpp b/src/citra_qt/configuration/configure_dialog.cpp index b2aaeb0d68..5d3818c727 100644 --- a/src/citra_qt/configuration/configure_dialog.cpp +++ b/src/citra_qt/configuration/configure_dialog.cpp @@ -28,6 +28,7 @@ void ConfigureDialog::applyConfiguration() { ui->debugTab->applyConfiguration(); ui->webTab->applyConfiguration(); Settings::Apply(); + Config::LogSettings(); } void ConfigureDialog::onLanguageChanged(const QString& locale) { diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 1f31b60809..26ffe2ca1a 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -139,7 +139,7 @@ GMainWindow::GMainWindow() : config(new Config()), emu_thread(nullptr) { SetupUIStrings(); LOG_INFO(Frontend, "Citra Version: {} | {}-{}", Common::g_build_fullname, Common::g_scm_branch, Common::g_scm_desc); - config->LogSettings(); + Config::LogSettings(); show();