@@ -48,7 +48,7 @@ void QuickSettingsDialog::_fetch_setting_values() {
4848 editor_themes.clear ();
4949 editor_scales.clear ();
5050 editor_network_modes.clear ();
51- editor_engine_version_update_modes .clear ();
51+ editor_check_for_updates .clear ();
5252 editor_directory_naming_conventions.clear ();
5353
5454 {
@@ -66,8 +66,8 @@ void QuickSettingsDialog::_fetch_setting_values() {
6666 editor_scales = pi.hint_string .split (" ," );
6767 } else if (pi.name == " network/connection/network_mode" ) {
6868 editor_network_modes = pi.hint_string .split (" ," );
69- } else if (pi.name == " network/connection/engine_version_update_mode " ) {
70- editor_engine_version_update_modes = pi.hint_string .split (" ," );
69+ } else if (pi.name == " network/connection/check_for_updates " ) {
70+ editor_check_for_updates = pi.hint_string .split (" ," );
7171 } else if (pi.name == " project_manager/directory_naming_convention" ) {
7272 editor_directory_naming_conventions = pi.hint_string .split (" ," );
7373 }
@@ -133,18 +133,18 @@ void QuickSettingsDialog::_update_current_values() {
133133 }
134134 }
135135
136- // Engine version update mode options.
136+ // Check for updates options.
137137 {
138- const int current_update_mode = EDITOR_GET (" network/connection/engine_version_update_mode " );
138+ const int current_update_mode = EDITOR_GET (" network/connection/check_for_updates " );
139139
140- for (int i = 0 ; i < editor_engine_version_update_modes .size (); i++) {
141- const String &engine_version_update_mode_value = editor_engine_version_update_modes [i];
140+ for (int i = 0 ; i < editor_check_for_updates .size (); i++) {
141+ const String &check_for_update_value = editor_check_for_updates [i];
142142 if (current_update_mode == i) {
143- engine_version_update_mode_button ->set_text (engine_version_update_mode_value );
144- engine_version_update_mode_button ->select (i);
143+ check_for_update_button ->set_text (check_for_update_value );
144+ check_for_update_button ->select (i);
145145
146- // Disables Engine Version Update Mode selection if Network mode is set to Offline.
147- engine_version_update_mode_button ->set_disabled (!EDITOR_GET (" network/connection/network_mode" ));
146+ // Disables Check for Updates selection if Network mode is set to Offline.
147+ check_for_update_button ->set_disabled (!EDITOR_GET (" network/connection/network_mode" ));
148148 }
149149 }
150150 }
@@ -197,12 +197,12 @@ void QuickSettingsDialog::_scale_selected(int p_id) {
197197void QuickSettingsDialog::_network_mode_selected (int p_id) {
198198 _set_setting_value (" network/connection/network_mode" , p_id);
199199
200- // Disables Engine Version Update Mode selection if Network mode is set to Offline.
201- engine_version_update_mode_button ->set_disabled (!p_id);
200+ // Disables Check for Updates selection if Network mode is set to Offline.
201+ check_for_update_button ->set_disabled (!p_id);
202202}
203203
204- void QuickSettingsDialog::_engine_version_update_mode_selected (int p_id) {
205- _set_setting_value (" network/connection/engine_version_update_mode " , p_id);
204+ void QuickSettingsDialog::_check_for_update_selected (int p_id) {
205+ _set_setting_value (" network/connection/check_for_updates " , p_id);
206206}
207207
208208void QuickSettingsDialog::_directory_naming_convention_selected (int p_id) {
@@ -346,18 +346,18 @@ QuickSettingsDialog::QuickSettingsDialog() {
346346 _add_setting_control (TTRC (" Network Mode" ), network_mode_option_button);
347347 }
348348
349- // Engine version update mode options.
349+ // Check for updates options.
350350 {
351- engine_version_update_mode_button = memnew (OptionButton);
352- engine_version_update_mode_button ->set_fit_to_longest_item (false );
353- engine_version_update_mode_button ->connect (SceneStringName (item_selected), callable_mp (this , &QuickSettingsDialog::_engine_version_update_mode_selected ));
351+ check_for_update_button = memnew (OptionButton);
352+ check_for_update_button ->set_fit_to_longest_item (false );
353+ check_for_update_button ->connect (SceneStringName (item_selected), callable_mp (this , &QuickSettingsDialog::_check_for_update_selected ));
354354
355- for (int i = 0 ; i < editor_engine_version_update_modes .size (); i++) {
356- const String &engine_version_update_mode_value = editor_engine_version_update_modes [i];
357- engine_version_update_mode_button ->add_item (engine_version_update_mode_value , i);
355+ for (int i = 0 ; i < editor_check_for_updates .size (); i++) {
356+ const String &check_for_update_value = editor_check_for_updates [i];
357+ check_for_update_button ->add_item (check_for_update_value , i);
358358 }
359359
360- _add_setting_control (TTRC (" Engine Version Update Mode " ), engine_version_update_mode_button );
360+ _add_setting_control (TTRC (" Check for Updates " ), check_for_update_button );
361361 }
362362
363363 // Project directory naming options.
0 commit comments