Changeset 37834 in vbox
- Timestamp:
- Jul 8, 2011 10:20:49 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r37825 r37834 3584 3584 { 3585 3585 /* IMediumAttachment could be indirectly updated through IMachine 3586 * only if attachment device type wasNOT changed and is one of the next types:3586 * only if attachment type, device and port were NOT changed and is one of the next types: 3587 3587 * KDeviceType_Floppy or KDeviceType_DVD. 3588 3588 * For other cases we will recreate attachment fully: */ … … 3591 3591 KDeviceType initialAttachmentDeviceType = initialAttachmentData.m_attachmentType; 3592 3592 KDeviceType currentAttachmentDeviceType = currentAttachmentData.m_attachmentType; 3593 LONG iInitialAttachmentDevice = initialAttachmentData.m_iAttachmentDevice; 3594 LONG iCurrentAttachmentDevice = currentAttachmentData.m_iAttachmentDevice; 3595 LONG iInitialAttachmentPort = initialAttachmentData.m_iAttachmentPort; 3596 LONG iCurrentAttachmentPort = currentAttachmentData.m_iAttachmentPort; 3593 3597 return (currentAttachmentDeviceType == initialAttachmentDeviceType) && 3598 (iCurrentAttachmentDevice == iInitialAttachmentDevice) && 3599 (iCurrentAttachmentPort == iInitialAttachmentPort) && 3594 3600 (currentAttachmentDeviceType == KDeviceType_Floppy || currentAttachmentDeviceType == KDeviceType_DVD); 3595 3601 }
Note:
See TracChangeset
for help on using the changeset viewer.