Changeset 73657 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 14, 2018 1:20:19 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp
r73615 r73657 224 224 if (value.isString()) 225 225 fieldValueStringList << fieldValueArray[i].toString(); 226 /* If value is of object type, we just take object values only: */226 /* If value is of object type, we take object "key : value" pairs: */ 227 227 else if (value.isObject()) 228 228 { 229 229 const QJsonObject valueObject = value.toObject(); 230 230 foreach (const QString &strKey, valueObject.keys()) 231 fieldValueStringList << valueObject.value(strKey).toString(); 231 fieldValueStringList << QString("%1 : %2") 232 .arg(strKey) 233 .arg(valueObject.value(strKey).toString()); 232 234 } 233 235 }
Note:
See TracChangeset
for help on using the changeset viewer.