Changeset 8418 in vbox
- Timestamp:
- Apr 28, 2008 12:47:49 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 30264
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxMediaComboBox.h
r8155 r8418 43 43 void setUseEmptyItem (bool); 44 44 void setBelongsTo (const QUuid &); 45 QUuid getId ();45 QUuid getId (int aId = -1); 46 46 QUuid getBelongsTo(); 47 47 void setCurrentItem (const QUuid &); -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxMediaComboBox.cpp
r8155 r8418 249 249 } 250 250 251 QUuid VBoxMediaComboBox::getId() 252 { 253 return mUuidList.isEmpty() ? QUuid() : QUuid (mUuidList [currentItem()]); 251 QUuid VBoxMediaComboBox::getId (int aId) 252 { 253 return mUuidList.isEmpty() ? QUuid() : 254 aId == -1 ? QUuid (mUuidList [currentItem()]) : 255 QUuid (mUuidList [aId]); 254 256 } 255 257
Note:
See TracChangeset
for help on using the changeset viewer.