Prevent unnecessary memory allocations

This commit is contained in:
Josef Vitu 2017-09-24 11:45:58 +02:00 committed by Jonathan White
parent 852e89c0df
commit be312bbe4f
5 changed files with 13 additions and 13 deletions

View file

@ -41,7 +41,7 @@ QList<QString> EntryAttributes::keys() const
bool EntryAttributes::hasKey(const QString& key) const
{
return m_attributes.keys().contains(key);
return m_attributes.contains(key);
}
QList<QString> EntryAttributes::customKeys()