mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 21:47:38 +03:00
parent
f836629dda
commit
6b6c109903
13 changed files with 224 additions and 35 deletions
|
@ -465,8 +465,9 @@ void Entry::setGroup(Group* group)
|
|||
}
|
||||
}
|
||||
|
||||
group->addEntry(this);
|
||||
m_group = group;
|
||||
group->addEntry(this);
|
||||
|
||||
QObject::setParent(group);
|
||||
|
||||
if (m_updateTimeinfo) {
|
||||
|
@ -488,3 +489,11 @@ const Database* Entry::database() const
|
|||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
bool Entry::match(const QString& searchTerm, Qt::CaseSensitivity caseSensitivity)
|
||||
{
|
||||
return title().contains(searchTerm, caseSensitivity) ||
|
||||
username().contains(searchTerm, caseSensitivity) ||
|
||||
url().contains(searchTerm, caseSensitivity) ||
|
||||
notes().contains(searchTerm, caseSensitivity);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue