Changeset 87533 in vbox
- Timestamp:
- Feb 2, 2021 12:02:29 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r86233 r87533 3872 3872 else if (pSender == m_pComboType) 3873 3873 { 3874 const KStorageBus enmBus = m_pComboType->currentData(StorageModel::R_CtrBusType).value<KStorageBus>(); 3875 const KStorageControllerType enmType = m_pComboType->currentData(StorageModel::R_CtrType).value<KStorageControllerType>(); 3874 3876 const bool fResult = 3875 m_pModelStorage->setData(index, 3876 QVariant::fromValue(m_pComboType->currentData(StorageModel::R_CtrBusType).value<KStorageBus>()), 3877 StorageModel::R_CtrBusType); 3877 m_pModelStorage->setData(index, QVariant::fromValue(enmBus), StorageModel::R_CtrBusType); 3878 3878 if (fResult) 3879 m_pModelStorage->setData(index, 3880 QVariant::fromValue(m_pComboType->currentData(StorageModel::R_CtrType).value<KStorageControllerType>()), 3881 StorageModel::R_CtrType); 3879 m_pModelStorage->setData(index, QVariant::fromValue(enmType), StorageModel::R_CtrType); 3882 3880 } 3883 3881 else if (pSender == m_pSpinboxPortCount)
Note:
See TracChangeset
for help on using the changeset viewer.