forked from qt-creator/qt-creator
Utils: Pass const values by reference
Change-Id: Iafd0f372f02f0f3759419a632e81325484861ba1 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
ce55d23e2a
commit
66d561a628
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user