Changeset 101865 in vbox for trunk/src/VBox
- Timestamp:
- Nov 6, 2023 12:28:34 PM (13 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/editors
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIChipsetEditor.cpp
r101563 r101865 94 94 } 95 95 96 void UIChipsetEditor::handleFilterChange() 97 { 98 populateCombo(); 99 } 100 96 101 void UIChipsetEditor::prepare() 97 102 { … … 150 155 151 156 /* Load currently supported values: */ 152 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(KPlatformArchitecture_x86); 157 const KPlatformArchitecture enmArch = m_flags.contains("arch") 158 ? m_flags.value("arch").value<KPlatformArchitecture>() 159 : KPlatformArchitecture_x86; 160 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(enmArch); 153 161 m_supportedValues = comProperties.GetSupportedChipsetTypes(); 154 162 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIChipsetEditor.h
r101011 r101865 76 76 virtual void retranslateUi() RT_OVERRIDE; 77 77 78 /** Handles filter change. */ 79 virtual void handleFilterChange() RT_OVERRIDE; 80 78 81 private: 79 82 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIParavirtProviderEditor.cpp
r101035 r101865 93 93 } 94 94 95 void UIParavirtProviderEditor::handleFilterChange() 96 { 97 populateCombo(); 98 } 99 95 100 void UIParavirtProviderEditor::prepare() 96 101 { … … 147 152 148 153 /* Load currently supported paravirt provider types: */ 149 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(KPlatformArchitecture_x86); 154 const KPlatformArchitecture enmArch = m_flags.contains("arch") 155 ? m_flags.value("arch").value<KPlatformArchitecture>() 156 : KPlatformArchitecture_x86; 157 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(enmArch); 150 158 m_supportedValues = comProperties.GetSupportedParavirtProviders(); 151 159 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIParavirtProviderEditor.h
r101011 r101865 71 71 virtual void retranslateUi() RT_OVERRIDE; 72 72 73 /** Handles filter change. */ 74 virtual void handleFilterChange() RT_OVERRIDE; 75 73 76 private: 74 77 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UITpmEditor.cpp
r101563 r101865 92 92 } 93 93 94 void UITpmEditor::handleFilterChange() 95 { 96 populateCombo(); 97 } 98 94 99 void UITpmEditor::prepare() 95 100 { … … 148 153 149 154 /* Load currently supported values: */ 150 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(KPlatformArchitecture_x86); 155 const KPlatformArchitecture enmArch = m_flags.contains("arch") 156 ? m_flags.value("arch").value<KPlatformArchitecture>() 157 : KPlatformArchitecture_x86; 158 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(enmArch); 151 159 m_supportedValues = comProperties.GetSupportedTpmTypes(); 152 160 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UITpmEditor.h
r101011 r101865 76 76 virtual void retranslateUi() RT_OVERRIDE; 77 77 78 /** Handles filter change. */ 79 virtual void handleFilterChange() RT_OVERRIDE; 80 78 81 private: 79 82 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUSBControllerEditor.cpp
r101563 r101865 96 96 } 97 97 98 void UIUSBControllerEditor::handleFilterChange() 99 { 100 updateButtonSet(); 101 } 102 98 103 void UIUSBControllerEditor::prepare() 99 104 { … … 148 153 { 149 154 /* Load currently supported types: */ 150 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(KPlatformArchitecture_x86); 155 const KPlatformArchitecture enmArch = m_flags.contains("arch") 156 ? m_flags.value("arch").value<KPlatformArchitecture>() 157 : KPlatformArchitecture_x86; 158 CPlatformProperties comProperties = uiCommon().virtualBox().GetPlatformProperties(enmArch); 151 159 m_supportedValues = comProperties.GetSupportedUSBControllerTypes(); 152 160 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIUSBControllerEditor.h
r101011 r101865 69 69 virtual void retranslateUi() RT_OVERRIDE; 70 70 71 /** Handles filter change. */ 72 virtual void handleFilterChange() RT_OVERRIDE; 73 71 74 private: 72 75
Note:
See TracChangeset
for help on using the changeset viewer.