Changeset 43132 in vbox
- Timestamp:
- Aug 31, 2012 11:36:34 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 80501
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r42017 r43132 1925 1925 storageControllerData.m_fUseHostIOCache = controller.GetUseHostIOCache(); 1926 1926 1927 /* Sort attachments before caching/fetching: */ 1928 const CMediumAttachmentVector &attachmentVector = 1929 m_machine.GetMediumAttachmentsOfController(storageControllerData.m_strControllerName); 1930 QMap<StorageSlot, CMediumAttachment> attachmentMap; 1931 foreach (const CMediumAttachment &attachment, attachmentVector) 1932 { 1933 StorageSlot storageSlot(storageControllerData.m_controllerBus, 1934 attachment.GetPort(), attachment.GetDevice()); 1935 attachmentMap.insert(storageSlot, attachment); 1936 } 1937 const QList<CMediumAttachment> &attachments = attachmentMap.values(); 1938 1927 1939 /* For each attachment: */ 1928 const CMediumAttachmentVector &attachments = m_machine.GetMediumAttachmentsOfController(storageControllerData.m_strControllerName);1929 1940 for (int iAttachmentIndex = 0; iAttachmentIndex < attachments.size(); ++iAttachmentIndex) 1930 1941 {
Note:
See TracChangeset
for help on using the changeset viewer.