mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-29 19:06:55 -05:00
Avoid allocating temporary containers
This commit is contained in:
parent
49b82ea6a2
commit
b39522f874
2 changed files with 2 additions and 2 deletions
|
|
@ -983,7 +983,7 @@ QStringList Group::locate(const QString& locateTerm, const QString& currentPath)
|
|||
|
||||
for (const Entry* entry : asConst(m_entries)) {
|
||||
QString entryPath = currentPath + entry->title();
|
||||
if (entryPath.toLower().contains(locateTerm.toLower())) {
|
||||
if (entryPath.contains(locateTerm, Qt::CaseInsensitive)) {
|
||||
response << entryPath;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue