Commit ba9b1814 authored by Méven Car's avatar Méven Car
Browse files

Avoid copying key variable in the loop, as warned by QtCreator

Reviewers: bruns, ngraham

Reviewed By: bruns, ngraham

Subscribers: #baloo

Tags: #baloo

Differential Revision: https://phabricator.kde.org/D20768
parent a89f1260
...@@ -176,7 +176,7 @@ void FileMetaDataWidget::Private::slotLoadingFinished() ...@@ -176,7 +176,7 @@ void FileMetaDataWidget::Private::slotLoadingFinished()
const int labelColumn = m_configureVisibleProperties ? 1 : 0; const int labelColumn = m_configureVisibleProperties ? 1 : 0;
for (const auto key: keys) { for (const auto& key : keys) {
Row row; Row row;
if (m_configureVisibleProperties) { if (m_configureVisibleProperties) {
row.checkBox = new QCheckBox(q); row.checkBox = new QCheckBox(q);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment