diff --git a/src/gui/transferlistfilters/categoryfiltermodel.cpp b/src/gui/transferlistfilters/categoryfiltermodel.cpp index 99abeef62..cdb880500 100644 --- a/src/gui/transferlistfilters/categoryfiltermodel.cpp +++ b/src/gui/transferlistfilters/categoryfiltermodel.cpp @@ -40,7 +40,7 @@ class CategoryModelItem public: CategoryModelItem() = default; - CategoryModelItem(CategoryModelItem *parent, QString categoryName, int torrentsCount = 0) + CategoryModelItem(CategoryModelItem *parent, const QString &categoryName, const int torrentsCount = 0) : m_name(categoryName) , m_torrentsCount(torrentsCount) {