fix: sorting by pack format

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-08-28 22:52:29 -03:00
parent f21ae66265
commit 3ab17a97a8
4 changed files with 28 additions and 2 deletions

View File

@ -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;