ProjectExplorer: Pass const values by reference

Change-Id: I985aced32b95cfe4bc1bbbf7c917dc04b1d94f2d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2014-05-05 17:15:20 +03:00
committed by Orgad Shaneh
parent 4cf0cae8bc
commit fb206c14fe
8 changed files with 8 additions and 8 deletions

View File

@@ -438,7 +438,7 @@ void TaskFilterModel::handleRowsAboutToBeRemoved(const QModelIndex &index, int f
endRemoveRows();
}
void TaskFilterModel::handleDataChanged(QModelIndex top, QModelIndex bottom)
void TaskFilterModel::handleDataChanged(const QModelIndex &top, const QModelIndex &bottom)
{
const QPair<int, int> range = findFilteredRange(top.row(), bottom.row(), m_mapping);
if (range.first > range.second)