Added filter value check/warning

This commit is contained in:
Martin Tůma 2024-10-06 13:00:49 +02:00
parent 497aa2e023
commit aea6c129dc

View File

@ -35,6 +35,7 @@ static QVariant variant(const QJsonValue &val)
case QJsonValue::Bool: case QJsonValue::Bool:
return val.toVariant(); return val.toVariant();
default: default:
qWarning() << val << ": invalid filter value";
return QVariant(); return QVariant();
} }
} }