mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-07 09:05:11 -04:00
Convert Q_FOREACH loops to C++11 for loops.
Q_FOREACH will de deprecated soon.
This commit is contained in:
parent
ad834f0f58
commit
fff9e7ac46
31 changed files with 202 additions and 143 deletions
|
@ -232,7 +232,8 @@ void EntryAttributesModel::updateAttributes()
|
|||
{
|
||||
m_attributes.clear();
|
||||
|
||||
Q_FOREACH (const QString& key, m_entryAttributes->keys()) {
|
||||
const QList<QString> attributesKeyList = m_entryAttributes->keys();
|
||||
for (const QString& key : attributesKeyList) {
|
||||
if (!EntryAttributes::isDefaultAttribute(key)) {
|
||||
m_attributes.append(key);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue