Changeset 103287 in vbox
- Timestamp:
- Feb 8, 2024 6:09:31 PM (12 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/machine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp
r103180 r103287 624 624 void UIMachineSettingsSystem::handleFilterChange() 625 625 { 626 /* Update some stuff: */ 627 updateOptionSet(); 626 628 updateMinimumLayoutHint(); 627 629 } … … 657 659 || (systemData.m_fEnabledNestedPaging && isMachineOffline())); 658 660 } 661 662 /* Update option set: */ 663 updateOptionSet(); 659 664 } 660 665 … … 668 673 prepareWidgets(); 669 674 prepareConnections(); 675 676 /* Update option set: */ 677 updateOptionSet(); 670 678 671 679 /* Apply language settings: */ … … 729 737 730 738 /* Prepare chipset editor: */ 731 #ifndef VBOX_WITH_VIRT_ARMV8732 739 m_pEditorChipset = new UIChipsetEditor(m_pTabMotherboard); 733 #endif734 740 if (m_pEditorChipset) 735 741 { … … 887 893 connect(m_pEditorAccelerationFeatures, &UIAccelerationFeaturesEditor::sigChangedNestedPaging, 888 894 this, &UIMachineSettingsSystem::revalidate); 895 } 896 897 void UIMachineSettingsSystem::updateOptionSet() 898 { 899 /* Load currently propagated arch type: */ 900 const KPlatformArchitecture enmArch = optionalFlags().contains("arch") 901 ? optionalFlags().value("arch").value<KPlatformArchitecture>() 902 : KPlatformArchitecture_x86; 903 904 /* Some options visible only for x86 machines: */ 905 const bool fx86 = enmArch == KPlatformArchitecture_x86; 906 m_pEditorChipset->setVisible(fx86); 907 m_pEditorProcessorFeatures->setVisible(fx86); 889 908 } 890 909 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.h
r101717 r103287 133 133 /** Prepares connections. */ 134 134 void prepareConnections(); 135 /** Updates option set. */ 136 void updateOptionSet(); 135 137 /** Cleanups all. */ 136 138 void cleanup();
Note:
See TracChangeset
for help on using the changeset viewer.