Update size order for folders
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user