Update size order for folders
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
242ddbb7e1
commit
29d32f0d9a
9 changed files with 15 additions and 19 deletions
|
@ -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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue