From dcb85810b8764773873ba1ce1a1bb6fe247633e4 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Sun, 3 Mar 2024 18:05:05 +0800 Subject: [PATCH] Const autofy add in folderstatusmodel Signed-off-by: Claudio Cambra --- src/gui/folderstatusmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }