forked from qt-creator/qt-creator
ProjectExplorer: Pass const values by reference
Change-Id: I985aced32b95cfe4bc1bbbf7c917dc04b1d94f2d Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
4cf0cae8bc
commit
fb206c14fe
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user