Fixed a typo.

This commit is contained in:
Keith Bennett 2014-03-22 14:07:50 +00:00
parent a627870bbb
commit 612ef0ef9b

View File

@ -85,7 +85,7 @@ bool EntryConfig::load(const Entry *entry)
bool isOk = false;
QVariant v = QJson::Parser().parse(s.toUtf8(), &isOk);
if (!isOk || !v.type() == QVariant::Map)
if (!isOk || v.type() != QVariant::Map)
return false;
QJson::QObjectHelper::qvariant2qobject(v.toMap(), this);