mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Convert pass-by-value arguments to const refs where applicable
This commit is contained in:
@@ -56,7 +56,7 @@ public:
|
||||
TransferListModel *getSourceModel() const;
|
||||
|
||||
public slots:
|
||||
void setSelectionCategory(QString category);
|
||||
void setSelectionCategory(const QString &category);
|
||||
void addSelectionTag(const QString &tag);
|
||||
void removeSelectionTag(const QString &tag);
|
||||
void clearSelectionTags();
|
||||
@@ -90,11 +90,11 @@ public slots:
|
||||
void displayDLHoSMenu(const QPoint&);
|
||||
void applyNameFilter(const QString &name);
|
||||
void applyStatusFilter(int f);
|
||||
void applyCategoryFilter(QString category);
|
||||
void applyCategoryFilter(const QString &category);
|
||||
void applyTagFilter(const QString &tag);
|
||||
void applyTrackerFilterAll();
|
||||
void applyTrackerFilter(const QStringList &hashes);
|
||||
void previewFile(QString filePath);
|
||||
void previewFile(const QString &filePath);
|
||||
void renameSelectedTorrent();
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user