Changeset 16728 in vbox
- Timestamp:
- Feb 13, 2009 8:34:20 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxImportAppliance.cpp
r16715 r16728 366 366 flags |= Qt::ItemIsUserCheckable; 367 367 /* Some items are editable */ 368 if (mType != KVirtualSystemDescriptionType_CPU && /* CPU not editable for now */ 369 mType != KVirtualSystemDescriptionType_Floppy && /* The following items didn't have any associated data to edit */ 370 mType != KVirtualSystemDescriptionType_CDROM && 371 mType != KVirtualSystemDescriptionType_USBController && 368 if ((mType == KVirtualSystemDescriptionType_Name || 369 mType == KVirtualSystemDescriptionType_OS || 370 mType == KVirtualSystemDescriptionType_Memory || 371 mType == KVirtualSystemDescriptionType_SoundCard || 372 mType == KVirtualSystemDescriptionType_NetworkAdapter || 373 mType == KVirtualSystemDescriptionType_HardDiskControllerIDE || 374 mType == KVirtualSystemDescriptionType_HardDiskImage) && 372 375 mCheckState == Qt::Checked) /* Item has to be enabled */ 373 376 flags |= Qt::ItemIsEditable; … … 742 745 } 743 746 744 return false;747 return true; 745 748 } 746 749
Note:
See TracChangeset
for help on using the changeset viewer.