From ea15f120cd479522e6466dd5cf5f2b650daac9d2 Mon Sep 17 00:00:00 2001 From: chrchr Date: Fri, 21 Jul 2023 10:53:09 +0200 Subject: [PATCH] const --- gui/resultstree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/resultstree.cpp b/gui/resultstree.cpp index 792f777fe8a..80ad3b340b6 100644 --- a/gui/resultstree.cpp +++ b/gui/resultstree.cpp @@ -725,7 +725,7 @@ void ResultsTree::contextMenuEvent(QContextMenuEvent * e) mContextItem = mModel.itemFromIndex(index); if (mContextItem && mApplications->getApplicationCount() > 0 && mContextItem->parent()) { //Disconnect all signals - for (QAction* action : actions) { + for (const QAction* action : actions) { disconnect(action, SIGNAL(triggered()), signalMapper, SLOT(map())); }