mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-01 02:56:21 -04:00
Fixed a typo.
This commit is contained in:
parent
a627870bbb
commit
612ef0ef9b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue