mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Qt/GameConfigWidget: Add reverse
argument for {Save,Load}CheckBox
In order to not hard code `if (key == "FastDiscSpeed")`
This commit is contained in:
@ -35,8 +35,10 @@ private:
|
||||
void LoadSettings();
|
||||
void SaveSettings();
|
||||
|
||||
void SaveCheckBox(QCheckBox* checkbox, const std::string& section, const std::string& key);
|
||||
void LoadCheckBox(QCheckBox* checkbox, const std::string& section, const std::string& key);
|
||||
void SaveCheckBox(QCheckBox* checkbox, const std::string& section, const std::string& key,
|
||||
bool reverse = false);
|
||||
void LoadCheckBox(QCheckBox* checkbox, const std::string& section, const std::string& key,
|
||||
bool reverse = false);
|
||||
|
||||
QString m_gameini_sys_path;
|
||||
QString m_gameini_local_path;
|
||||
|
Reference in New Issue
Block a user