citra_qt/configuration: log on config dialog close
This commit is contained in:
parent
250cf584e3
commit
82aa45d9fa
|
@ -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<int, Settings::NativeButton::NumButtons> default_buttons;
|
||||
static const std::array<std::array<int, 5>, Settings::NativeAnalog::NumAnalogs> default_analogs;
|
||||
|
|
|
@ -28,6 +28,7 @@ void ConfigureDialog::applyConfiguration() {
|
|||
ui->debugTab->applyConfiguration();
|
||||
ui->webTab->applyConfiguration();
|
||||
Settings::Apply();
|
||||
Config::LogSettings();
|
||||
}
|
||||
|
||||
void ConfigureDialog::onLanguageChanged(const QString& locale) {
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Reference in New Issue