diff --git a/src/gui/folderstatusmodel.cpp b/src/gui/folderstatusmodel.cpp index d0c0eba8e8eab..d5d02188521f3 100644 --- a/src/gui/folderstatusmodel.cpp +++ b/src/gui/folderstatusmodel.cpp @@ -1319,7 +1319,7 @@ void FolderStatusModel::slotShowFetchProgress() const auto idx = it.key(); const auto info = infoForIndex(idx); if (info && info->_fetchingJob) { - auto add = !info->hasLabel(); + const auto add = !info->hasLabel(); if (add) { beginInsertRows(idx, 0, 0); }