VirtualBox

Changeset 73613 in vbox


Ignore:
Timestamp:
Aug 10, 2018 12:04:50 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9152: Export Appliance wizard: Removing few useless bits added by r123949.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp

    r73580 r73613  
    177177    /* Make sure field is bool: */
    178178    AssertMsgReturn(field.isBool(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), false);
    179     LogRel(("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()));
    180179    const bool fFieldValue = field.toBool();
    181180    //printf("  Field value: \"%s\"\n", fFieldValue ? "true" : "false");
     
    189188    /* Make sure field is double: */
    190189    AssertMsgReturn(field.isDouble(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), 0);
    191     LogRel(("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()));
    192190    const double dFieldValue = field.toDouble();
    193191    //printf("  Field value: \"%f\"\n", dFieldValue);
     
    201199    /* Make sure field is string: */
    202200    AssertMsgReturn(field.isString(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), QString());
    203     LogRel(("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()));
    204201    const QString strFieldValue = field.toString();
    205202    //printf("  Field value: \"%s\"\n", strFieldValue.toUtf8().constData());
     
    212209{
    213210    /* Make sure field is array: */
    214     AssertMsgReturn(field.isArray(), ("Item '%s' has wrong structure!", strFieldName.toUtf8().constData()), QStringList());
    215     LogRel(("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()));
     211    AssertMsgReturn(field.isArray(), ("Field '%s' has wrong structure!", strFieldName.toUtf8().constData()), QStringList());
    216212    const QJsonArray fieldValueArray = field.toArray();
    217213    QStringList fieldValueStirngList;
    218214    for (int i = 0; i < fieldValueArray.count(); ++i)
    219         fieldValueStirngList << fieldValueArray[i].toString();
     215            fieldValueStirngList << fieldValueArray[i].toString();
    220216    //printf("  Field value: \"%s\"\n", fieldValueStirngList.join(", ").toUtf8().constData());
    221217
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette