summaryrefslogtreecommitdiff
path: root/src/common/settings_common.h
diff options
context:
space:
mode:
authorGravatar lat9nq2023-07-18 15:42:59 -0400
committerGravatar lat9nq2023-07-21 10:56:55 -0400
commit1e093767a85ee0fdce6f1619e967a6560963dcf3 (patch)
tree41908aa9f566a587fedc6053ebda9b5798ecee28 /src/common/settings_common.h
parentsettings: Cleanup (diff)
downloadyuzu-1e093767a85ee0fdce6f1619e967a6560963dcf3.tar.gz
yuzu-1e093767a85ee0fdce6f1619e967a6560963dcf3.tar.xz
yuzu-1e093767a85ee0fdce6f1619e967a6560963dcf3.zip
common,configure_system: Rename method to GetCategory
Fixes essentially a shadowing issue.
Diffstat (limited to 'src/common/settings_common.h')
-rw-r--r--src/common/settings_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/settings_common.h b/src/common/settings_common.h
index b355384a4..ca218e37b 100644
--- a/src/common/settings_common.h
+++ b/src/common/settings_common.h
@@ -196,7 +196,7 @@ public:
196 * 196 *
197 * @returns The setting's category 197 * @returns The setting's category
198 */ 198 */
199 [[nodiscard]] enum Category Category() const; 199 [[nodiscard]] Category GetCategory() const;
200 200
201 /** 201 /**
202 * @returns Extra metadata for data representation in frontend implementations. 202 * @returns Extra metadata for data representation in frontend implementations.
@@ -246,9 +246,9 @@ public:
246 [[nodiscard]] virtual bool UsingGlobal() const; 246 [[nodiscard]] virtual bool UsingGlobal() const;
247 247
248private: 248private:
249 const std::string label; ///< The setting's label 249 const std::string label; ///< The setting's label
250 const enum Category category; ///< The setting's category AKA INI group 250 const Category category; ///< The setting's category AKA INI group
251 const u32 id; ///< Unique integer for the setting 251 const u32 id; ///< Unique integer for the setting
252 const bool save; ///< Suggests if the setting should be saved and read to a frontend config 252 const bool save; ///< Suggests if the setting should be saved and read to a frontend config
253 const bool 253 const bool
254 runtime_modifiable; ///< Suggests if the setting can be modified while a guest is running 254 runtime_modifiable; ///< Suggests if the setting can be modified while a guest is running