1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-01 17:06:32 -05:00

configuration_shared: Use an int instead of a QString

I noticed some of the code could be reduced to just passing the function an int, since I was doing the same thing over and over. Also clang-formats configure_graphics
This commit is contained in:
lat9nq
2020-07-13 21:48:56 -04:00
parent 38152ab0b9
commit 2627241541
4 changed files with 28 additions and 22 deletions

View File

@@ -61,6 +61,6 @@ void SetColoredTristate(QCheckBox* checkbox, const std::string& name, const Sett
ConfigurationShared::CheckState& tracker);
void InsertGlobalItem(QComboBox* combobox);
void InsertGlobalItem(QComboBox* combobox, const QString& global);
void InsertGlobalItem(QComboBox* combobox, int global_index);
} // namespace ConfigurationShared