qt: Disable system update downloader in per-game settings. (#6402)

This commit is contained in:
Steveice10 2023-04-03 13:59:56 -07:00 committed by GitHub
parent 041252ba36
commit 9cbefa468a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 77 additions and 72 deletions

View file

@ -531,6 +531,9 @@ void ConfigureSystem::SetupPerGameUI() {
ui->label_plugin_loader->setVisible(false); ui->label_plugin_loader->setVisible(false);
ui->plugin_loader->setVisible(false); ui->plugin_loader->setVisible(false);
ui->allow_plugin_loader->setVisible(false); ui->allow_plugin_loader->setVisible(false);
// Disable the system firmware downloader.
ui->label_nus_download->setVisible(false);
ui->body_nus_download->setVisible(false);
ConfigurationShared::SetColoredTristate(ui->toggle_new_3ds, Settings::values.is_new_3ds, ConfigurationShared::SetColoredTristate(ui->toggle_new_3ds, Settings::values.is_new_3ds,
is_new_3ds); is_new_3ds);

View file

@ -369,82 +369,84 @@
</widget> </widget>
</item> </item>
<item row="15" column="1"> <item row="15" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_nus_download"> <widget class="QWidget" name="body_nus_download">
<item> <layout class="QHBoxLayout" name="horizontalLayout_nus_download">
<widget class="QComboBox" name="combo_download_set"> <item>
<item> <widget class="QComboBox" name="combo_download_set">
<property name="text"> <item>
<string>Minimal</string> <property name="text">
<string>Minimal</string>
</property>
</item>
<item>
<property name="text">
<string>Old 3DS</string>
</property>
</item>
<item>
<property name="text">
<string>New 3DS</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QComboBox" name="combo_download_region">
<item>
<property name="text">
<string>JPN</string>
</property>
</item>
<item>
<property name="text">
<string>USA</string>
</property>
</item>
<item>
<property name="text">
<string>EUR</string>
</property>
</item>
<item>
<property name="text">
<string>AUS</string>
</property>
</item>
<item>
<property name="text">
<string>CHN</string>
</property>
</item>
<item>
<property name="text">
<string>KOR</string>
</property>
</item>
<item>
<property name="text">
<string>TWN</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QPushButton" name="button_start_download">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
</item> <property name="layoutDirection">
<item> <enum>Qt::RightToLeft</enum>
<property name="text">
<string>Old 3DS</string>
</property> </property>
</item>
<item>
<property name="text"> <property name="text">
<string>New 3DS</string> <string>Download</string>
</property> </property>
</item> </widget>
</widget> </item>
</item> </layout>
<item> </widget>
<widget class="QComboBox" name="combo_download_region">
<item>
<property name="text">
<string>JPN</string>
</property>
</item>
<item>
<property name="text">
<string>USA</string>
</property>
</item>
<item>
<property name="text">
<string>EUR</string>
</property>
</item>
<item>
<property name="text">
<string>AUS</string>
</property>
</item>
<item>
<property name="text">
<string>CHN</string>
</property>
</item>
<item>
<property name="text">
<string>KOR</string>
</property>
</item>
<item>
<property name="text">
<string>TWN</string>
</property>
</item>
</widget>
</item>
<item>
<widget class="QPushButton" name="button_start_download">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="text">
<string>Download</string>
</property>
</widget>
</item>
</layout>
</item> </item>
</layout> </layout>
</widget> </widget>