summaryrefslogtreecommitdiffstats
path: root/src/yuzu/configuration/qt_config.cpp
diff options
context:
space:
mode:
authorflodavid <fl.david.53@gmail.com>2023-12-16 18:26:26 +0100
committerflodavid <fl.david.53@gmail.com>2024-01-08 18:43:56 +0100
commit63b835f822e5167aa529f2c27c5df136defef6eb (patch)
tree45e69dabebeb24510902818d8e5d78e39bd4a365 /src/yuzu/configuration/qt_config.cpp
parentMerge pull request #12608 from szepeviktor/typos (diff)
downloadyuzu-63b835f822e5167aa529f2c27c5df136defef6eb.tar
yuzu-63b835f822e5167aa529f2c27c5df136defef6eb.tar.gz
yuzu-63b835f822e5167aa529f2c27c5df136defef6eb.tar.bz2
yuzu-63b835f822e5167aa529f2c27c5df136defef6eb.tar.lz
yuzu-63b835f822e5167aa529f2c27c5df136defef6eb.tar.xz
yuzu-63b835f822e5167aa529f2c27c5df136defef6eb.tar.zst
yuzu-63b835f822e5167aa529f2c27c5df136defef6eb.zip
Diffstat (limited to 'src/yuzu/configuration/qt_config.cpp')
-rw-r--r--src/yuzu/configuration/qt_config.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/yuzu/configuration/qt_config.cpp b/src/yuzu/configuration/qt_config.cpp
index 6aca71d7c..1051031f2 100644
--- a/src/yuzu/configuration/qt_config.cpp
+++ b/src/yuzu/configuration/qt_config.cpp
@@ -1,6 +1,7 @@
// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include "common/logging/log.h"
#include "input_common/main.h"
#include "qt_config.h"
#include "uisettings.h"
@@ -65,7 +66,7 @@ void QtConfig::ReloadAllValues() {
}
void QtConfig::SaveAllValues() {
- Save();
+ SaveValues();
SaveQtValues();
}
@@ -327,7 +328,10 @@ void QtConfig::ReadMultiplayerValues() {
void QtConfig::SaveQtValues() {
if (global) {
+ LOG_DEBUG(Config, "Saving global Qt configuration values");
SaveUIValues();
+ } else {
+ LOG_DEBUG(Config, "Saving Qt configuration values");
}
SaveQtControlValues();
@@ -545,6 +549,7 @@ void QtConfig::ReadQtControlPlayerValues(std::size_t player_index) {
void QtConfig::SaveQtControlPlayerValues(std::size_t player_index) {
BeginGroup(Settings::TranslateCategory(Settings::Category::Controls));
+ LOG_DEBUG(Config, "Saving players control configuration values");
SavePlayerValues(player_index);
SaveQtPlayerValues(player_index);