Changeset 80987 in vbox
- Timestamp:
- Sep 24, 2019 4:24:26 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 133581
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
r80932 r80987 3332 3332 } 3333 3333 3334 /* For differencing hard-disk we have to request 3335 * enumeration of whole tree based in it's root item: */ 3336 if ( comMedium.isNotNull() 3337 && comMedium.GetDeviceType() == KDeviceType_HardDisk) 3338 { 3339 /* Traverse through parents to root to catch it: */ 3340 CMedium comRootMedium; 3341 CMedium comParentMedium = comMedium.GetParent(); 3342 while (comParentMedium.isNotNull()) 3343 { 3344 comRootMedium = comParentMedium; 3345 comParentMedium = comParentMedium.GetParent(); 3346 } 3347 /* Enumerate root if it's found and wasn't cached: */ 3348 if (comRootMedium.isNotNull()) 3349 { 3350 const QUuid uRootId = comRootMedium.GetId(); 3351 if (medium(uRootId).isNull()) 3352 enumerateMedia(CMediumVector() << comRootMedium); 3353 } 3354 } 3355 3334 3356 /* Return UI medium details: */ 3335 3357 return fUseHtml ? guiMedium.detailsHTML(true /* no diffs? */, fPredictDiff) :
Note:
See TracChangeset
for help on using the changeset viewer.