add texture dumping as a config entry
This commit is contained in:
parent
2b92065d2a
commit
e0d63bd21b
10 changed files with 49 additions and 1 deletions
|
@ -230,6 +230,13 @@ void Config::ReadControlValues() {
|
|||
qt_config->endGroup();
|
||||
}
|
||||
|
||||
void Config::ReadUtilityValues() {
|
||||
|
||||
qt_config->beginGroup("Utility");
|
||||
Settings::values.dump_textures = ReadSetting("dump_textures", false).toBool();
|
||||
qt_config->endGroup();
|
||||
}
|
||||
|
||||
void Config::ReadCoreValues() {
|
||||
qt_config->beginGroup(QStringLiteral("Core"));
|
||||
|
||||
|
@ -693,6 +700,14 @@ void Config::SaveControlValues() {
|
|||
qt_config->endGroup();
|
||||
}
|
||||
|
||||
void Config::SaveUtilityValues() {
|
||||
qt_config->beginGroup("Utility");
|
||||
|
||||
WriteSetting("dump_textures", Settings::values.dump_textures, false);
|
||||
|
||||
qt_config->endGroup();
|
||||
}
|
||||
|
||||
void Config::SaveCoreValues() {
|
||||
qt_config->beginGroup(QStringLiteral("Core"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue