forked from qt-creator/qt-creator
Use const'ref in theses methods
Change-Id: Idfa5ffdcf23d1ef80442276690b8082b8279dbfa Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Laurent Montel
parent
c60103fc66
commit
86ea365a0b
@@ -128,7 +128,7 @@ void HighlightScrollBar::setPriority(Id category, HighlightScrollBar::Priority p
|
||||
m_overlay->scheduleUpdate();
|
||||
}
|
||||
|
||||
void HighlightScrollBar::addHighlights(Id category, QSet<int> highlights)
|
||||
void HighlightScrollBar::addHighlights(Id category, const QSet<int> &highlights)
|
||||
{
|
||||
if (!m_overlay)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user