┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/search/bar.cpp
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2026-01-22 16:07:53 +0100
committerMéven Car <[email protected]>2026-01-22 16:14:16 +0100
commita403c0c6058d5064b8cc439edb41eb52ae384046 (patch)
treef1942ba6723c2d1734ce67c886ebb33fead44ce1 /src/search/bar.cpp
parent174bc684603326de15e933b3bb24ffb739f3291e (diff)
clang-tidy: remove unnecessary std::move
Diffstat (limited to 'src/search/bar.cpp')
-rw-r--r--src/search/bar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search/bar.cpp b/src/search/bar.cpp
index 3d7aeedd3..dd5acd150 100644
--- a/src/search/bar.cpp
+++ b/src/search/bar.cpp
@@ -110,7 +110,7 @@ Bar::Bar(std::shared_ptr<const DolphinQuery> dolphinQuery, QWidget *parent)
SearchSettings::self()->save();
DolphinQuery searchConfigurationCopy = *m_searchConfiguration;
searchConfigurationCopy.setSearchLocations(SearchLocations::FromHere);
- slotConfigurationChanged(std::move(searchConfigurationCopy));
+ slotConfigurationChanged(searchConfigurationCopy);
});
m_everywhereButton = new QToolButton(contentsContainer);
@@ -126,7 +126,7 @@ Bar::Bar(std::shared_ptr<const DolphinQuery> dolphinQuery, QWidget *parent)
SearchSettings::self()->save();
DolphinQuery searchConfigurationCopy = *m_searchConfiguration;
searchConfigurationCopy.setSearchLocations(SearchLocations::Everywhere);
- slotConfigurationChanged(std::move(searchConfigurationCopy));
+ slotConfigurationChanged(searchConfigurationCopy);
});
// Apply layout for the location buttons and chips row