Changeset 94004 in vbox
- Timestamp:
- Mar 1, 2022 12:41:47 AM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
r94001 r94004 1788 1788 bool fIsRecentMediumUsed = false; 1789 1789 if (enmMediumType != UIMediumDeviceType_DVD) 1790 { 1790 1791 foreach (const CMediumAttachment &otherAttachment, comAttachments) 1791 1792 { … … 1800 1801 } 1801 1802 } 1803 } 1802 1804 /* If recent-medium usage is unique: */ 1803 1805 if (!fIsRecentMediumUsed) -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.cpp
r93588 r94004 442 442 /* 1. First, load icon from IMachine extra-data: */ 443 443 if (icon.isNull()) 444 { 444 445 foreach (const QString &strIconName, gEDataManager->machineWindowIconNames(uMachineId)) 445 446 if (!strIconName.isEmpty() && QFile::exists(strIconName)) 446 447 icon.addFile(strIconName); 448 } 447 449 448 450 /* 2. Otherwise, load icon from IMachine interface itself: */ -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp
r93115 r94004 1792 1792 QStringList selectedItemDefinitions; 1793 1793 if (fPreserveSelection && !selectedItems().isEmpty()) 1794 { 1794 1795 foreach (UIChooserItem *pSelectedItem, selectedItems()) 1795 1796 selectedItemDefinitions << pSelectedItem->definition(); 1797 } 1796 1798 1797 1799 /* Clean tree for main root: */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSF.cpp
r93998 r94004 338 338 /* Load machine (permanent) folders if allowed: */ 339 339 if (isSharedFolderTypeSupported(MachineType)) 340 { 340 341 foreach (const CSharedFolder &folder, getSharedFolders(MachineType)) 341 342 folders.insertMulti(MachineType, folder); 343 } 342 344 /* Load console (temporary) folders if allowed: */ 343 345 if (isSharedFolderTypeSupported(ConsoleType)) 346 { 344 347 foreach (const CSharedFolder &folder, getSharedFolders(ConsoleType)) 345 348 folders.insertMulti(ConsoleType, folder); 349 } 346 350 347 351 /* For each folder type: */
Note:
See TracChangeset
for help on using the changeset viewer.