mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 09:55:55 +00:00
Use reference
This commit is contained in:
parent
b185153254
commit
e375f3ee0b
@ -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…
x
Reference in New Issue
Block a user