mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-01-01 00:30:17 -05:00
Fix code-style issues
Fixed issues pointed out during review
This commit is contained in:
parent
943dc6cdd6
commit
258438f01f
6 changed files with 24 additions and 24 deletions
|
|
@ -286,11 +286,8 @@ void EntryAttributes::clear()
|
|||
int EntryAttributes::attributesSize() const
|
||||
{
|
||||
int size = 0;
|
||||
|
||||
QMapIterator<QString, QString> i(m_attributes);
|
||||
while (i.hasNext()) {
|
||||
i.next();
|
||||
size += i.key().toUtf8().size() + i.value().toUtf8().size();
|
||||
for (auto it = m_attributes.constBegin(); it != m_attributes.constEnd(); ++it) {
|
||||
size += it.key().toUtf8().size() + it.value().toUtf8().size();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue