Changeset 32071 in vbox
- Timestamp:
- Aug 29, 2010 3:58:05 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 65333
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsHD.cpp
r31615 r32071 2229 2229 /* Getting Passthrough state */ 2230 2230 bool isHostDrive = mStorageModel->data (index, StorageModel::R_AttIsHostDrive).toBool(); 2231 /* Passthrough is currently available only for the IDE controller DVD device */ 2232 bool isIdeCtr = mStorageModel->data (index.parent(), StorageModel::R_CtrBusType).value <KStorageBus>() == KStorageBus_IDE; 2233 mCbPassthrough->setEnabled (isHostDrive && isIdeCtr); 2234 mCbPassthrough->setChecked (isHostDrive && isIdeCtr && mStorageModel->data (index, StorageModel::R_AttIsPassthrough).toBool()); 2231 mCbPassthrough->setEnabled (isHostDrive); 2232 mCbPassthrough->setChecked (isHostDrive && mStorageModel->data (index, StorageModel::R_AttIsPassthrough).toBool()); 2235 2233 2236 2234 /* Update optional widgets visibility */
Note:
See TracChangeset
for help on using the changeset viewer.