Add possibility to sort by descending order

Authored by faridb on Jun 4 2018, 6:58 PM.

Description

Add possibility to sort by descending order

Summary:
Gwenview only allows sorting by ascending order. This patch adds the possibility to switch the sorting order to descending.
It is implemented similarly to the sorting menu in Dolphin.
The sorting order is also saved into the Gwenview configuration file.

Before:

After:

FEATURE: 293333

Test Plan:

  • Open a folder which contains images in Gwenview
  • Check 'Descending' in View > Sort By
  • The sorting order will be switched to descending
  • Uncheck 'Descending' in View > Sort By
  • The sorting order will be reverted to ascending

Reviewers: Gwenview, rkflx

Reviewed By: Gwenview, rkflx

Subscribers: muhlenpfordt, rkflx, xyquadrat

Tags: Gwenview

Differential Revision: https://phabricator.kde.org/D13213

Details

Committed
rkflxJun 4 2018, 7:06 PM
Reviewer
Gwenview
Differential Revision
D13213: Add possibility to sort by descending order
Parents
R260:bc1d4c545a86: Prompt to install kipi-plugins when the share button is clicked
Branches
Unknown
Tags
Unknown