From 95270333dc3061138cc3e1c6a8162bd29564492d Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sat, 22 Jun 2019 17:52:35 +0200 Subject: Use more human-readable sort order descriptions Summary: Anecdotal evidence shows that ascending/descending regularly takes people longer to process than necessary. This patch implements more human-friendly sort order descriptions, in particular: A-Z/Z-A for text Newest first/oldest-first for time Lowest first/highest first for rating smallest first/largest first for sizes If there is no string for a particular role defined it will fall back to Ascending/Descending. I'm aware that not every language uses A-Z. In this case the translator can pick any string that represents the concept of text sorting Test Plan: Sort view in various ways Reviewers: #dolphin, #vdg, ngraham Reviewed By: #dolphin, #vdg, ngraham Subscribers: ngraham, kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D22006 --- src/views/dolphinviewactionhandler.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/views/dolphinviewactionhandler.h') diff --git a/src/views/dolphinviewactionhandler.h b/src/views/dolphinviewactionhandler.h index 001a93d78..7d675b7d4 100644 --- a/src/views/dolphinviewactionhandler.h +++ b/src/views/dolphinviewactionhandler.h @@ -132,9 +132,6 @@ private Q_SLOTS: /** Decreases the size of the current set view mode. */ void zoomOut(); - /** Switches between an ascending and descending sorting order. */ - void toggleSortOrder(); - /** Switches between a separate sorting and a mixed sorting of files and folders. */ void toggleSortFoldersFirst(); -- cgit v1.3.1