mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
Convert pass-by-value arguments to const refs where applicable
This commit is contained in:
parent
ca3ce87e06
commit
445adb0ab4
18 changed files with 84 additions and 84 deletions
|
@ -149,7 +149,7 @@ QList<QTreeWidgetItem*> TrackerListWidget::getSelectedTrackerItems() const
|
|||
return selectedTrackers;
|
||||
}
|
||||
|
||||
void TrackerListWidget::setRowColor(const int row, QColor color)
|
||||
void TrackerListWidget::setRowColor(const int row, const QColor &color)
|
||||
{
|
||||
const int nbColumns = columnCount();
|
||||
QTreeWidgetItem *item = topLevelItem(row);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue