Changeset 64798 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Dec 6, 2016 5:36:34 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.cpp
r64795 r64798 265 265 QString UIApplianceModelItem::text() const 266 266 { 267 return data(ApplianceViewSection_Description, Qt::DisplayRole).toString(); 267 switch (type()) 268 { 269 case ApplianceModelItemType_VirtualSystem: 270 return tr("%1", "col.1 text") 271 .arg(data(ApplianceViewSection_Description, Qt::DisplayRole).toString()); 272 case ApplianceModelItemType_VirtualHardware: 273 return tr("%1: %2", "col.1 text: col.2 text") 274 .arg(data(ApplianceViewSection_Description, Qt::DisplayRole).toString()) 275 .arg(data(ApplianceViewSection_ConfigValue, Qt::DisplayRole).toString()); 276 default: 277 break; 278 } 279 return QString(); 268 280 } 269 281
Note:
See TracChangeset
for help on using the changeset viewer.