Changeset 73928 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 28, 2018 2:36:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumSelector.cpp
r73926 r73928 369 369 else 370 370 pParentMediumItem = createHardDiskItem(parentMedium, pParent); 371 /* If parent medium-item was found: */372 if (pParentMediumItem)373 {374 pMediumItem = new UIMediumItemHD(medium, pParentMediumItem);375 LogRel2(("UIMediumManager: Child hard-disk medium-item with ID={%s} created.\n", medium.id().toUtf8().constData()));376 }377 else378 AssertMsgFailed(("Parent medium with ID={%s} could not be created!\n", medium.parentID().toUtf8().constData()));379 380 371 } 381 } 382 /* Else just create item as top-level one: */ 372 if (pParentMediumItem) 373 { 374 pMediumItem = new UIMediumItemHD(medium, pParentMediumItem); 375 LogRel2(("UIMediumManager: Child hard-disk medium-item with ID={%s} created.\n", medium.id().toUtf8().constData())); 376 } 377 else 378 AssertMsgFailed(("Parent medium with ID={%s} could not be created!\n", medium.parentID().toUtf8().constData())); 379 } 380 381 /* No parents, thus just create item as top-level one: */ 383 382 else 384 383 { … … 636 635 { 637 636 UIMedium medium = vboxGlobal().medium(strMediumID); 638 637 //printf("name %s\n", qPrintable(medium.name())); 639 638 if (medium.type() == m_enmMediumType) 640 639 {
Note:
See TracChangeset
for help on using the changeset viewer.