Update size order for folders

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2024-06-10 00:18:00 +03:00
parent 242ddbb7e1
commit 29d32f0d9a
No known key found for this signature in database
GPG key ID: 55EF5DA53DB36318
9 changed files with 15 additions and 19 deletions

View file

@ -55,11 +55,8 @@ class Resource : public QObject {
* > 0: 'this' comes after 'other'
* = 0: 'this' is equal to 'other'
* < 0: 'this' comes before 'other'
* the order is used to force items to be allways at top and not used for sorting
*/
[[nodiscard]] virtual int compare(Resource const& other,
SortType type = SortType::NAME,
Qt::SortOrder order = Qt::SortOrder::AscendingOrder) const;
[[nodiscard]] virtual int compare(Resource const& other, SortType type = SortType::NAME) const;
/** Returns whether the given filter should filter out 'this' (false),
* or if such filter includes the Resource (true).