- Timestamp:
- Dec 15, 2010 9:37:13 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageStorageController.cpp
r34874 r35115 556 556 if (!pMedium2Mount) 557 557 throw Utf8StrFmt("Invalid UUID or filename \"%s\"", pszMedium); 558 } 559 560 // set medium type, if so desired 561 if (pMedium2Mount && mediumType != MediumType_Normal) 562 { 563 CHECK_ERROR(pMedium2Mount, COMSETTER(Type)(mediumType)); 564 } 565 566 if (pMedium2Mount && !bstrComment.isEmpty()) 567 { 568 CHECK_ERROR(pMedium2Mount, COMSETTER(Description)(bstrComment.raw())); 558 569 } 559 570 … … 621 632 break; 622 633 } 623 624 // set medium type, if so desired625 if (pMedium2Mount && mediumType != MediumType_Normal)626 {627 CHECK_ERROR(pMedium2Mount, COMSETTER(Type)(mediumType));628 }629 630 if (!bstrComment.isEmpty())631 {632 CHECK_ERROR(pMedium2Mount, COMSETTER(Description)(bstrComment.raw()));633 }634 634 } 635 635
Note:
See TracChangeset
for help on using the changeset viewer.