|
|
@ -525,6 +525,13 @@ void Config::ReadDebuggingValues() {
|
|
|
|
qt_config->endGroup();
|
|
|
|
qt_config->endGroup();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Config::ReadServiceValues() {
|
|
|
|
|
|
|
|
qt_config->beginGroup("Services");
|
|
|
|
|
|
|
|
Settings::values.bcat_backend = ReadSetting("bcat_backend", "boxcat").toString().toStdString();
|
|
|
|
|
|
|
|
Settings::values.bcat_boxcat_local = ReadSetting("bcat_boxcat_local", false).toBool();
|
|
|
|
|
|
|
|
qt_config->endGroup();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Config::ReadDisabledAddOnValues() {
|
|
|
|
void Config::ReadDisabledAddOnValues() {
|
|
|
|
const auto size = qt_config->beginReadArray(QStringLiteral("DisabledAddOns"));
|
|
|
|
const auto size = qt_config->beginReadArray(QStringLiteral("DisabledAddOns"));
|
|
|
|
|
|
|
|
|
|
|
@ -769,6 +776,7 @@ void Config::ReadValues() {
|
|
|
|
ReadMiscellaneousValues();
|
|
|
|
ReadMiscellaneousValues();
|
|
|
|
ReadDebuggingValues();
|
|
|
|
ReadDebuggingValues();
|
|
|
|
ReadWebServiceValues();
|
|
|
|
ReadWebServiceValues();
|
|
|
|
|
|
|
|
ReadServiceValues();
|
|
|
|
ReadDisabledAddOnValues();
|
|
|
|
ReadDisabledAddOnValues();
|
|
|
|
ReadUIValues();
|
|
|
|
ReadUIValues();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -866,6 +874,7 @@ void Config::SaveValues() {
|
|
|
|
SaveMiscellaneousValues();
|
|
|
|
SaveMiscellaneousValues();
|
|
|
|
SaveDebuggingValues();
|
|
|
|
SaveDebuggingValues();
|
|
|
|
SaveWebServiceValues();
|
|
|
|
SaveWebServiceValues();
|
|
|
|
|
|
|
|
SaveServiceValues();
|
|
|
|
SaveDisabledAddOnValues();
|
|
|
|
SaveDisabledAddOnValues();
|
|
|
|
SaveUIValues();
|
|
|
|
SaveUIValues();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -963,6 +972,13 @@ void Config::SaveDebuggingValues() {
|
|
|
|
qt_config->endGroup();
|
|
|
|
qt_config->endGroup();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Config::SaveServiceValues() {
|
|
|
|
|
|
|
|
qt_config->beginGroup("Services");
|
|
|
|
|
|
|
|
WriteSetting("bcat_backend", QString::fromStdString(Settings::values.bcat_backend), "null");
|
|
|
|
|
|
|
|
WriteSetting("bcat_boxcat_local", Settings::values.bcat_boxcat_local, false);
|
|
|
|
|
|
|
|
qt_config->endGroup();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Config::SaveDisabledAddOnValues() {
|
|
|
|
void Config::SaveDisabledAddOnValues() {
|
|
|
|
qt_config->beginWriteArray(QStringLiteral("DisabledAddOns"));
|
|
|
|
qt_config->beginWriteArray(QStringLiteral("DisabledAddOns"));
|
|
|
|
|
|
|
|
|
|
|
|