mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-29 17:48:46 -04:00
Add capability to resolve UUID
This commit is contained in:
parent
d4d0f4c131
commit
b44092ac43
2 changed files with 3 additions and 1 deletions
|
@ -838,6 +838,8 @@ QString Entry::referenceFieldValue(EntryReferenceType referenceType) const
|
||||||
return url();
|
return url();
|
||||||
case EntryReferenceType::Notes:
|
case EntryReferenceType::Notes:
|
||||||
return notes();
|
return notes();
|
||||||
|
case EntryReferenceType::Uuid:
|
||||||
|
return uuid().toHex();
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ const QString EntryAttributes::RememberCmdExecAttr = "_EXEC_CMD";
|
||||||
|
|
||||||
EntryAttributes::EntryAttributes(QObject* parent)
|
EntryAttributes::EntryAttributes(QObject* parent)
|
||||||
: QObject(parent)
|
: QObject(parent)
|
||||||
, m_referenceRegExp("\\{REF:(?<WantedField>[TUPAN])@(?<SearchIn>[TUPANIO]):(?<SearchText>[^}]+)\\}",
|
, m_referenceRegExp("\\{REF:(?<WantedField>[TUPANI])@(?<SearchIn>[TUPANIO]):(?<SearchText>[^}]+)\\}",
|
||||||
QRegularExpression::CaseInsensitiveOption)
|
QRegularExpression::CaseInsensitiveOption)
|
||||||
{
|
{
|
||||||
clear();
|
clear();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue