Changeset 78546 in vbox
- Timestamp:
- May 16, 2019 1:07:34 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r78545 r78546 1709 1709 if (!opticalIds.isEmpty()) 1710 1710 { 1711 if (!msgCenter().confirmStorageBusChangeWithOpticalRemoval( ))1711 if (!msgCenter().confirmStorageBusChangeWithOpticalRemoval(qobject_cast<QWidget*>(QObject::parent()))) 1712 1712 return false; 1713 1713 foreach (const QUuid &uId, opticalIds) … … 1724 1724 if (uMaxPortCount * uMaxDevicePerPortCount < (uint)ids.size()) 1725 1725 { 1726 if (!msgCenter().confirmStorageBusChangeWithExcessiveRemoval( ))1726 if (!msgCenter().confirmStorageBusChangeWithExcessiveRemoval(qobject_cast<QWidget*>(QObject::parent()))) 1727 1727 return false; 1728 1728 for (int i = uMaxPortCount * uMaxDevicePerPortCount; i < ids.size(); ++i) … … 1730 1730 } 1731 1731 1732 /* Push new controller type: */1732 /* Push new bus/controller type: */ 1733 1733 pItemController->setCtrBusType(enmNewCtrBusType); 1734 pItemController->setCtrType(pItemController->ctrTypes().first()); 1734 1735 emit dataChanged(aIndex, aIndex); 1735 1736
Note:
See TracChangeset
for help on using the changeset viewer.