┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOliver Schramm <[email protected]>2026-01-07 12:47:56 +0100
committerOliver Schramm <[email protected]>2026-01-07 12:47:56 +0100
commit8827cc92c53422f2c3cf292557c998c9c8e26b57 (patch)
tree9dd818e64c15633236d0f11c5516498a76c0240b /src
parent866c35c3f22ce89e9ba71bb800fc972871602532 (diff)
viewactionhandler: remove duplicate Sort by: text
222c8eb5 has accidentally reverted 4deeb7bc. This re-applies this.
Diffstat (limited to 'src')
-rw-r--r--src/views/dolphinviewactionhandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/views/dolphinviewactionhandler.cpp b/src/views/dolphinviewactionhandler.cpp
index 99d3e0111..7317ca79c 100644
--- a/src/views/dolphinviewactionhandler.cpp
+++ b/src/views/dolphinviewactionhandler.cpp
@@ -439,8 +439,7 @@ QActionGroup *DolphinViewActionHandler::createFileItemRolesActionGroup(const QSt
action->setActionGroup(groupMenuGroup);
groupMenu->addAction(action);
}
- action->setText(isSortGroup ? i18nc("@action:intoolbar as in sort by file attribute", "Sort by: %1", info.translation)
- : i18nc("@action:intoolbar as in show field for file attribute", "Show Field: %1", info.translation));
+ action->setText(info.translation);
action->setData(info.role);
const bool enable = (!info.requiresBaloo && !info.requiresIndexer) || (info.requiresBaloo) || (info.requiresIndexer && indexingEnabled);