Browse Source

Use reference

adaptive-webui-19844
Chocobo1 2 years ago
parent
commit
e375f3ee0b
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/gui/transferlistfilters/categoryfiltermodel.cpp

2
src/gui/transferlistfilters/categoryfiltermodel.cpp

@ -40,7 +40,7 @@ class CategoryModelItem
public: public:
CategoryModelItem() = default; CategoryModelItem() = default;
CategoryModelItem(CategoryModelItem *parent, QString categoryName, int torrentsCount = 0) CategoryModelItem(CategoryModelItem *parent, const QString &categoryName, const int torrentsCount = 0)
: m_name(categoryName) : m_name(categoryName)
, m_torrentsCount(torrentsCount) , m_torrentsCount(torrentsCount)
{ {

Loading…
Cancel
Save