1. 30 Nov, 2019 1 commit
    • Ahmad Samir's avatar
      Replace KRecursiveFilterProxyModel with QSortFilterProxyModel · aee422b0
      Ahmad Samir authored
      Summary:
      KRecursiveFilterProxyModel was only needed to have recursive filtering, which
      became available upstream since Qt 5.10.  Also increate min. required Qt version
      to 5.10.
      
      Test Plan: The code builds, and recursive filtering still works
      
      Reviewers: #ark, elvisangelaccio, apol
      
      Reviewed By: apol
      
      Subscribers: apol, kde-frameworks-devel, kde-utils-devel
      
      Tags: #ark
      
      Maniphest Tasks: T12269
      
      Differential Revision: https://phabricator.kde.org/D25631
      aee422b0
  2. 20 Sep, 2018 1 commit
  3. 21 Dec, 2016 1 commit
  4. 19 Dec, 2016 1 commit
    • Ragnar Thomsen's avatar
      Fix sorting in QTreeView · 206a5eee
      Ragnar Thomsen authored
      Commit 7781d6ef broke sorting in the sense that folders are no
      longer sorted before files. This is due to KRecursiveFilterProxyModel's
      implementation of sort() being used instead of ArchiveModel's.
      
      We now subclass KRecursiveFilterProxyModel into ArchiveFilterSortModel
      so we can re-implement lessThan() and move the relevant code from
      ArchiveModel::sort().
      
      Differential Revision: D3742
      206a5eee