Changeset 3138 in vbox
- Timestamp:
- Jun 18, 2007 10:18:48 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMFirstRunWzd.ui.h
r2981 r3138 249 249 { 250 250 CHostDVDDrive hostDVD = en.GetNext(); 251 cbHost->insertItem (hostDVD.GetName(), id); 251 QString name = hostDVD.GetName(); 252 QString description = hostDVD.GetDescription(); 253 QString fullName = description.isEmpty() ? 254 name : 255 QString ("%1 (%2)").arg (description, name); 256 cbHost->insertItem (fullName, id); 252 257 hostDVDs [id] = hostDVD; 253 258 ++ id; … … 269 274 { 270 275 CHostFloppyDrive hostFloppy = en.GetNext(); 271 cbHost->insertItem (hostFloppy.GetName(), id); 276 QString name = hostFloppy.GetName(); 277 QString description = hostFloppy.GetDescription(); 278 QString fullName = description.isEmpty() ? 279 name : 280 QString ("%1 (%2)").arg (description, name); 281 cbHost->insertItem (fullName, id); 272 282 hostFloppys [id] = hostFloppy; 273 283 ++ id;
Note:
See TracChangeset
for help on using the changeset viewer.