settings: Add 'Reporting Services' config option
Full enable/disable for all reports.
This commit is contained in:
parent
5574be21cc
commit
658d2ee97d
|
@ -416,6 +416,7 @@ struct Values {
|
|||
std::string program_args;
|
||||
bool dump_exefs;
|
||||
bool dump_nso;
|
||||
bool reporting_services;
|
||||
|
||||
// WebService
|
||||
bool enable_telemetry;
|
||||
|
|
|
@ -473,7 +473,7 @@ void Config::ReadDebuggingValues() {
|
|||
ReadSetting(QStringLiteral("program_args"), QStringLiteral("")).toString().toStdString();
|
||||
Settings::values.dump_exefs = ReadSetting(QStringLiteral("dump_exefs"), false).toBool();
|
||||
Settings::values.dump_nso = ReadSetting(QStringLiteral("dump_nso"), false).toBool();
|
||||
|
||||
Settings::values.reporting_services = ReadSetting("reporting_services", false).toBool();
|
||||
qt_config->endGroup();
|
||||
}
|
||||
|
||||
|
|
|
@ -383,6 +383,8 @@ void Config::ReadValues() {
|
|||
Settings::values.program_args = sdl2_config->Get("Debugging", "program_args", "");
|
||||
Settings::values.dump_exefs = sdl2_config->GetBoolean("Debugging", "dump_exefs", false);
|
||||
Settings::values.dump_nso = sdl2_config->GetBoolean("Debugging", "dump_nso", false);
|
||||
Settings::values.reporting_services =
|
||||
sdl2_config->GetBoolean("Debugging", "reporting_services", false);
|
||||
|
||||
const auto title_list = sdl2_config->Get("AddOns", "title_ids", "");
|
||||
std::stringstream ss(title_list);
|
||||
|
|
Reference in New Issue