mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-23 19:25:55 +01:00
Added filter value check/warning
This commit is contained in:
parent
497aa2e023
commit
aea6c129dc
@ -35,6 +35,7 @@ static QVariant variant(const QJsonValue &val)
|
||||
case QJsonValue::Bool:
|
||||
return val.toVariant();
|
||||
default:
|
||||
qWarning() << val << ": invalid filter value";
|
||||
return QVariant();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user