mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Use reference
This commit is contained in:
parent
b185153254
commit
e375f3ee0b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue