summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/config.h
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-05-25 20:49:42 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-06-01 17:22:04 -0400
commit4a3d57e469c5604631b5768c4fa917f199ce7854 (patch)
tree74460d14a44d52709970a9a8152f2dca93733973 /src/yuzu/configuration/config.h
parent8aeb42566968053d1a74f50f8453930cfdf2c42c (diff)
yuzu: Add settings reset button to general configuration
Builds on german77's work to reset all settings back to their defaults. This include UISettings and Settings values structs, but does not affect save profiles, input profiles, and game directories. This works from a button input in configure_general. When activated, it calls a callback to close the whole configure dialog, then GMainWindow deletes the old configuration, both on disk and in memory, and reinitalizes a new one. It also resets a portion of the UI and calls the telemetry window prompt.
Diffstat (limited to 'src/yuzu/configuration/config.h')
-rw-r--r--src/yuzu/configuration/config.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/yuzu/configuration/config.h b/src/yuzu/configuration/config.h
index cd68d7b4d..ce3355588 100644
--- a/src/yuzu/configuration/config.h
+++ b/src/yuzu/configuration/config.h
@@ -28,7 +28,6 @@ public:
void Reload();
void Save();
- void ResetDefaults();
void ReadControlPlayerValue(std::size_t player_index);
void SaveControlPlayerValue(std::size_t player_index);