Utils: Pass const values by reference

Change-Id: Iafd0f372f02f0f3759419a632e81325484861ba1
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Orgad Shaneh
2014-05-19 18:26:28 +03:00
committed by Orgad Shaneh
parent ce55d23e2a
commit 66d561a628
5 changed files with 5 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ QModelIndex TreeViewComboBox::indexBelow(QModelIndex index)
return index;
}
QModelIndex TreeViewComboBox::lastIndex(const QModelIndex index)
QModelIndex TreeViewComboBox::lastIndex(const QModelIndex &index)
{
if (index.isValid() && !m_view->isExpanded(index))
return index;