fix: sorting by pack format
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
f21ae66265
commit
3ab17a97a8
4 changed files with 28 additions and 2 deletions
|
@ -34,6 +34,8 @@ class ResourcePack : public Resource {
|
|||
/** Thread-safe. */
|
||||
void setDescription(QString new_description);
|
||||
|
||||
[[nodiscard]] auto compare(Resource const& other, SortType type) const -> std::pair<int, bool> override;
|
||||
|
||||
protected:
|
||||
mutable QMutex m_data_lock;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue