mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fixed a typo.
This commit is contained in:
parent
a627870bbb
commit
612ef0ef9b
@ -85,7 +85,7 @@ bool EntryConfig::load(const Entry *entry)
|
|||||||
|
|
||||||
bool isOk = false;
|
bool isOk = false;
|
||||||
QVariant v = QJson::Parser().parse(s.toUtf8(), &isOk);
|
QVariant v = QJson::Parser().parse(s.toUtf8(), &isOk);
|
||||||
if (!isOk || !v.type() == QVariant::Map)
|
if (!isOk || v.type() != QVariant::Map)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
QJson::QObjectHelper::qvariant2qobject(v.toMap(), this);
|
QJson::QObjectHelper::qvariant2qobject(v.toMap(), this);
|
||||||
|
Loading…
Reference in New Issue
Block a user