mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2024-11-24 03:35:54 +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:
|
case QJsonValue::Bool:
|
||||||
return val.toVariant();
|
return val.toVariant();
|
||||||
default:
|
default:
|
||||||
|
qWarning() << val << ": invalid filter value";
|
||||||
return QVariant();
|
return QVariant();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user