Changeset 73339 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 23, 2018 10:35:28 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic4.cpp
r73338 r73339 176 176 { 177 177 /* Make sure field is bool: */ 178 //AssertMsgReturn(field.isBool(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), false);179 178 AssertMsgReturn(field.isBool(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), false); 179 LogRel(("Field '%s' has wrong structure!", strFieldName.toUtf8().constData())); 180 180 const bool fFieldValue = field.toBool(); 181 181 //printf(" Field value: \"%s\"\n", fFieldValue ? "true" : "false"); … … 188 188 { 189 189 /* Make sure field is double: */ 190 //AssertMsgReturn(field.isDouble(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), 0);191 190 AssertMsgReturn(field.isDouble(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), 0); 191 LogRel(("Field '%s' has wrong structure!", strFieldName.toUtf8().constData())); 192 192 const double dFieldValue = field.toDouble(); 193 193 //printf(" Field value: \"%f\"\n", dFieldValue); … … 200 200 { 201 201 /* Make sure field is string: */ 202 //AssertMsgReturn(field.isString(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), QString());203 202 AssertMsgReturn(field.isString(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), QString()); 203 LogRel(("Field '%s' has wrong structure!", strFieldName.toUtf8().constData())); 204 204 const QString strFieldValue = field.toString(); 205 205 //printf(" Field value: \"%s\"\n", strFieldValue.toUtf8().constData()); … … 212 212 { 213 213 /* Make sure field is array: */ 214 //AssertMsgReturn(field.isArray(), ("Item '%s' has wrong structure!", strFieldName.toUtf8().constData()), QStringList());215 214 AssertMsgReturn(field.isArray(), ("Item '%s' has wrong structure!", strFieldName.toUtf8().constData()), QStringList()); 215 LogRel(("Field '%s' has wrong structure!", strFieldName.toUtf8().constData())); 216 216 const QJsonArray fieldValueArray = field.toArray(); 217 217 QStringList fieldValueStirngList;
Note:
See TracChangeset
for help on using the changeset viewer.