diff --git a/src/format/OpVaultReaderSections.cpp b/src/format/OpVaultReaderSections.cpp index 68ad478d3..4dcf80e48 100644 --- a/src/format/OpVaultReaderSections.cpp +++ b/src/format/OpVaultReaderSections.cpp @@ -83,7 +83,7 @@ void OpVaultReader::fillFromSectionField(Entry* entry, const QString& sectionNam } attrValue = query.toString(QUrl::FullyEncoded); } - entry->attributes()->set(Totp::ATTRIBUTE_SETTINGS, attrValue, true); + entry->setTotp(Totp::parseSettings(attrValue)); } else if (attrName.startsWith("expir", Qt::CaseInsensitive)) { QDateTime expiry; if (kind == "date") {