Changeset 73615 in vbox
- Timestamp:
- Aug 10, 2018 1:10:41 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp
r73614 r73615 176 176 { 177 177 /* Make sure field is bool: */ 178 Q_UNUSED(strFieldName); 178 179 AssertMsgReturn(field.isBool(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), false); 179 180 const bool fFieldValue = field.toBool(); … … 187 188 { 188 189 /* Make sure field is double: */ 190 Q_UNUSED(strFieldName); 189 191 AssertMsgReturn(field.isDouble(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), 0); 190 192 const double dFieldValue = field.toDouble(); … … 198 200 { 199 201 /* Make sure field is string: */ 202 Q_UNUSED(strFieldName); 200 203 AssertMsgReturn(field.isString(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), QString()); 201 204 const QString strFieldValue = field.toString(); … … 209 212 { 210 213 /* Make sure field is array: */ 214 Q_UNUSED(strFieldName); 211 215 AssertMsgReturn(field.isArray(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), QStringList()); 212 216 const QJsonArray fieldValueArray = field.toArray();
Note:
See TracChangeset
for help on using the changeset viewer.

