From 1acd0dfe09a34817d8daf58db2c53b2262eec7b7 Mon Sep 17 00:00:00 2001 From: Méven Car Date: Thu, 22 Jan 2026 16:15:09 +0100 Subject: clang-tidy: avoid copy, use const references --- src/search/chip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/search/chip.cpp') diff --git a/src/search/chip.cpp b/src/search/chip.cpp index f478a480f..69c166c9d 100644 --- a/src/search/chip.cpp +++ b/src/search/chip.cpp @@ -15,7 +15,7 @@ using namespace Search; ChipBase::ChipBase(std::shared_ptr dolphinQuery, QWidget *parent) : QWidget{parent} - , UpdatableStateInterface{dolphinQuery} + , UpdatableStateInterface{std::move(dolphinQuery)} { m_removeButton = new QToolButton{this}; m_removeButton->setText(i18nc("@action:button", "Remove Filter")); -- cgit v1.3