Changeset 17970 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 16, 2009 7:08:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxNewHDWzd.cpp
r17825 r17970 375 375 bool VBoxNewHDWzd::createHardDisk() 376 376 { 377 KHardDiskVariant variant = KHardDiskVariant_Standard; 377 378 QString loc = location(); 378 379 … … 393 394 } 394 395 395 if ( isDynamicStorage())396 progress = hd.CreateDynamicStorage (mCurrentSize, KHardDiskVariant_Standard);397 else 398 progress = hd.CreateFixedStorage (mCurrentSize, KHardDiskVariant_Standard);396 if (!isDynamicStorage()) 397 variant = (KHardDiskVariant)(KHardDiskVariant_Standard | KHardDiskVariant_Fixed); 398 399 progress = hd.CreateBaseStorage (mCurrentSize, variant); 399 400 400 401 if (!hd.isOk())
Note:
See TracChangeset
for help on using the changeset viewer.