Changeset 78627 in vbox
- Timestamp:
- May 21, 2019 11:12:46 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 130695
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r78598 r78627 3666 3666 return; 3667 3667 /* Also make sure there is enough place for new attachment: */ 3668 const KStorageBus enmBus = pItemController->ctrBusType(); 3669 const int uMaxPortCount = vboxGlobal().virtualBox().GetSystemProperties().GetMaxPortCountForStorageBus(enmBus); 3670 const int uMaxDevicePerPortCount = vboxGlobal().virtualBox().GetSystemProperties().GetMaxDevicesPerPortForStorageBus(enmBus); 3671 const SlotsList usedSlots = pItemController->ctrUsedSlots(); 3672 if (usedSlots.size() >= uMaxPortCount * uMaxDevicePerPortCount) 3668 const bool fIsMoreAttachmentsPossible = m_pModelStorage->data(index, StorageModel::R_IsMoreAttachmentsPossible).toBool(); 3669 if (!fIsMoreAttachmentsPossible) 3673 3670 return; 3674 3671
Note:
See TracChangeset
for help on using the changeset viewer.