yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

qt: Make UI option for 'Reporting Services' temporary

Reports are unnecessary for normal users and this is to prevent 'power' users from enabling the feature by accident.
This commit is contained in:
Zach Hilman 2019-05-17 21:45:16 -04:00
parent 658d2ee97d
commit 6f0ee45b5c
2 changed files with 24 additions and 0 deletions

View File

@ -35,6 +35,7 @@ void ConfigureDebug::setConfiguration() {
ui->homebrew_args_edit->setText(QString::fromStdString(Settings::values.program_args));
ui->dump_exefs->setChecked(Settings::values.dump_exefs);
ui->dump_decompressed_nso->setChecked(Settings::values.dump_nso);
ui->reporting_services->setChecked(Settings::values.reporting_services);
}
void ConfigureDebug::applyConfiguration() {
@ -45,6 +46,7 @@ void ConfigureDebug::applyConfiguration() {
Settings::values.program_args = ui->homebrew_args_edit->text().toStdString();
Settings::values.dump_exefs = ui->dump_exefs->isChecked();
Settings::values.dump_nso = ui->dump_decompressed_nso->isChecked();
Settings::values.reporting_services = ui->reporting_services->isChecked();
Debugger::ToggleConsole();
Log::Filter filter;
filter.ParseFilterString(Settings::values.log_filter);

View File

@ -155,6 +155,28 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="reporting_services">
<property name="text">
<string>Enable Verbose Reporting Services</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="font">
<font>
<italic>true</italic>
</font>
</property>
<property name="text">
<string>This will be reset automatically when yuzu closes.</string>
</property>
<property name="indent">
<number>20</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>