Changeset 102160 in vbox
- Timestamp:
- Nov 20, 2023 5:24:27 PM (12 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialog.cpp
r102087 r102160 959 959 /* Create validator: */ 960 960 UISettingsPageValidator *pValidator = new UISettingsPageValidator(this, pSettingsPage); 961 connect(pValidator, &UISettingsPageValidator::sigValidityChanged, this, &UIAdvancedSettingsDialog::sltHandleValidityChange); 961 connect(pValidator, &UISettingsPageValidator::sigValidityChanged, 962 this, &UIAdvancedSettingsDialog::sltHandleValidityChange); 962 963 pSettingsPage->setValidator(pValidator); 963 964 m_pWarningPane->registerValidator(pValidator); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialogSpecific.cpp
r102140 r102160 783 783 switch (enmArch) 784 784 { 785 /* For x86 we no need the flag at all, removing if present: */ 786 case KPlatformArchitecture_x86: optFlags.remove("arch"); break; 787 /* For rest of platforms we need the flag: */ 788 default: optFlags["arch"] = QVariant::fromValue(enmArch); break; 785 /* For x86/ARM we'll set the flag: */ 786 case KPlatformArchitecture_x86: 787 case KPlatformArchitecture_ARM: 788 optFlags["arch"] = QVariant::fromValue(enmArch); 789 break; 790 /* For rest of platforms (+None) we'll remove it: */ 791 default: 792 optFlags.remove("arch"); 793 break; 789 794 } 790 795 setOptionalFlags(optFlags);
Note:
See TracChangeset
for help on using the changeset viewer.