mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Prevent unnecessary memory allocations
This commit is contained in:
committed by
Jonathan White
parent
852e89c0df
commit
be312bbe4f
@@ -29,7 +29,7 @@ QList<QString> EntryAttachments::keys() const
|
||||
|
||||
bool EntryAttachments::hasKey(const QString& key) const
|
||||
{
|
||||
return m_attachments.keys().contains(key);
|
||||
return m_attachments.contains(key);
|
||||
}
|
||||
|
||||
QList<QByteArray> EntryAttachments::values() const
|
||||
|
||||
Reference in New Issue
Block a user