┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinviewactionhandler.cpp
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2023-09-10 15:19:13 +0200
committerMéven Car <[email protected]>2023-09-10 15:19:13 +0200
commitb58a346be96f7d0973ed96e52c4cf95463ba244d (patch)
tree799775ba70d0d9f61f2d400ad1b46227979dec26 /src/views/dolphinviewactionhandler.cpp
parent5a7b749f5b524f771c549774de4783f014664135 (diff)
Replace qAsConst with std::as_const
Diffstat (limited to 'src/views/dolphinviewactionhandler.cpp')
-rw-r--r--src/views/dolphinviewactionhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/dolphinviewactionhandler.cpp b/src/views/dolphinviewactionhandler.cpp
index 4408a9e47..397ff5d5e 100644
--- a/src/views/dolphinviewactionhandler.cpp
+++ b/src/views/dolphinviewactionhandler.cpp
@@ -714,7 +714,7 @@ void DolphinViewActionHandler::slotSortTriggered(QAction *action)
// actions and the sub-menu-actions. If an action gets checked, it must
// be assured that all other actions get unchecked, except the ascending/
// descending actions
- for (QAction *groupAction : qAsConst(m_sortByActions)) {
+ for (QAction *groupAction : std::as_const(m_sortByActions)) {
KActionMenu *actionMenu = qobject_cast<KActionMenu *>(groupAction);
if (actionMenu) {
const auto actions = actionMenu->menu()->actions();