Add search 'by-path' url for browser

This commit is contained in:
Jonathan White 2020-10-17 10:05:02 -04:00
parent 0c5dd1556a
commit eb6f0eb346
5 changed files with 52 additions and 3 deletions

View file

@ -503,6 +503,13 @@ QString Entry::totpSettingsString() const
return {};
}
QString Entry::path() const
{
auto path = group()->hierarchy();
path << title();
return path.mid(1).join("/");
}
void Entry::setUuid(const QUuid& uuid)
{
Q_ASSERT(!uuid.isNull());