Changeset 23308 in vbox for trunk/src/VBox/Main
- Timestamp:
- Sep 24, 2009 7:39:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HostImpl.cpp
r23279 r23308 1609 1609 HRESULT Host::loadSettings(const settings::Host &data) 1610 1610 { 1611 HRESULT rc = S_OK; 1612 #ifdef VBOX_WITH_USB 1611 1613 AutoCaller autoCaller(this); 1612 1614 CheckComRCReturnRC(autoCaller.rc()); … … 1614 1616 AutoMultiWriteLock2 alock(this->lockHandle(), &m->treeLock); 1615 1617 1616 HRESULT rc = S_OK; 1617 1618 #ifdef VBOX_WITH_USB 1618 1619 1619 for (settings::USBDeviceFiltersList::const_iterator it = data.llUSBDeviceFilters.begin(); 1620 1620 it != data.llUSBDeviceFilters.end(); … … 1640 1640 NOREF(data); 1641 1641 #endif /* VBOX_WITH_USB */ 1642 1643 1642 return rc; 1644 1643 } … … 1646 1645 HRESULT Host::saveSettings(settings::Host &data) 1647 1646 { 1647 #ifdef VBOX_WITH_USB 1648 1648 AutoCaller autoCaller(this); 1649 1649 CheckComRCReturnRC(autoCaller.rc()); … … 1651 1651 AutoReadLock alock(&m->treeLock); 1652 1652 1653 #ifdef VBOX_WITH_USB1654 1653 data.llUSBDeviceFilters.clear(); 1655 1654
Note:
See TracChangeset
for help on using the changeset viewer.