mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-08-30 16:06:30 -05:00
configure_system: Implement with for loop
This commit is contained in:
@@ -696,6 +696,7 @@ void Config::ReadSystemValues() {
|
||||
qt_config->beginGroup(QStringLiteral("System"));
|
||||
|
||||
ReadCategory(Settings::Category::System);
|
||||
ReadCategory(Settings::Category::SystemAudio);
|
||||
|
||||
qt_config->endGroup();
|
||||
}
|
||||
@@ -1134,6 +1135,7 @@ void Config::SaveSystemValues() {
|
||||
qt_config->beginGroup(QStringLiteral("System"));
|
||||
|
||||
WriteCategory(Settings::Category::System);
|
||||
WriteCategory(Settings::Category::SystemAudio);
|
||||
|
||||
qt_config->endGroup();
|
||||
}
|
||||
|
Reference in New Issue
Block a user