Sort icon and cursor themes case-insensitively

Authored by ngraham on Sep 19 2018, 4:20 AM.

Description

Sort icon and cursor themes case-insensitively

Summary:
Stick a QSortFilterProxyModel between the model and the view, and tell it to sort case-insensitively. Thanks to https://stackoverflow.com/a/5732026/2934226 for providing the solution.

BUG: 368600
FIXED-IN: 5.14.0

Test Plan: Could not test as I was unable to locate a working GTK 2 or 3 theme that started with a lowercase letter. But theoretically this code should do the trick, and it does not appear to cause any regressions at least.

Reviewers: apol, Plasma, broulik

Reviewed By: apol

Subscribers: wbauer, cfeck, broulik, plasma-devel

Tags: Plasma

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

Details

Committed
ngrahamSep 24 2018, 10:34 PM
Reviewer
apol
Differential Revision
D15598: Sort icon and cursor themes case-insensitively
Parents
R99:46a08a43dc46: Fix spelling errors
Branches
Unknown
Tags
Unknown