Changeset 78502 in vbox
- Timestamp:
- May 14, 2019 11:47:40 AM (6 years 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/UIMachineSettingsStorage.cpp
r78500 r78502 422 422 { 423 423 ControllerTypeList result; 424 for (uint i = first (); i < first() + size(); ++i)424 for (uint i = firstType(); i < firstType() + typeAmount(); ++i) 425 425 result << (KStorageControllerType) i; 426 426 return result; … … 442 442 } 443 443 444 KStorageControllerType AbstractControllerType::first () const444 KStorageControllerType AbstractControllerType::firstType() const 445 445 { 446 446 switch (mBusType) … … 457 457 } 458 458 459 uint AbstractControllerType:: size() const459 uint AbstractControllerType::typeAmount() const 460 460 { 461 461 switch (mBusType) -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.h
r78500 r78502 153 153 DeviceTypeList deviceTypeList() const; 154 154 155 pr otected:156 157 KStorageControllerType first () const;158 uint size() const;155 private: 156 157 KStorageControllerType firstType() const; 158 uint typeAmount() const; 159 159 160 160 KStorageBus mBusType;
Note:
See TracChangeset
for help on using the changeset viewer.