diff options
| author | Nicolas Fella <[email protected]> | 2019-06-22 17:52:35 +0200 |
|---|---|---|
| committer | Nicolas Fella <[email protected]> | 2019-07-04 18:35:24 +0200 |
| commit | 95270333dc3061138cc3e1c6a8162bd29564492d (patch) | |
| tree | db1f1b18974a87f619b283ca5c3c3fefbad5c725 /src/views/dolphinviewactionhandler.h | |
| parent | cd2078cef4b89903a68f285b54811d32ab8f80de (diff) | |
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
Diffstat (limited to 'src/views/dolphinviewactionhandler.h')
| -rw-r--r-- | src/views/dolphinviewactionhandler.h | 3 |
1 files changed, 0 insertions, 3 deletions
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(); |
