mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Add const to many vars and arguments
Also remove const in declarations' arguments that are passed by value
This commit is contained in:
@@ -228,7 +228,7 @@ void PluginSelectDialog::enableSelection(bool enable)
|
||||
}
|
||||
|
||||
// Set the color of a row in data model
|
||||
void PluginSelectDialog::setRowColor(int row, QString color)
|
||||
void PluginSelectDialog::setRowColor(const int row, QString color)
|
||||
{
|
||||
QTreeWidgetItem *item = m_ui->pluginsTree->topLevelItem(row);
|
||||
for (int i = 0; i < m_ui->pluginsTree->columnCount(); ++i) {
|
||||
|
||||
Reference in New Issue
Block a user