Fixed a typo.

This commit is contained in:
Keith Bennett committed 2014-03-23 17:25:39 +00:00
1 parent a627870bbb
commit 612ef0ef9b
1 file changed
+1 -1
+1 -1
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);