diff --git a/openbr/openbr_plugin.cpp b/openbr/openbr_plugin.cpp index 832d7b4..bc0515e 100644 --- a/openbr/openbr_plugin.cpp +++ b/openbr/openbr_plugin.cpp @@ -812,7 +812,7 @@ float br::Context::progress() const void br::Context::setProperty(const QString &key, const QString &value) { - Object::setProperty(key, value); + Object::setProperty(key, value.isEmpty() ? QVariant() : value); qDebug("Set %s%s", qPrintable(key), value.isEmpty() ? "" : qPrintable(" to " + value)); if (key == "parallelism") {