mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Use reference
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user