Fix last warning of qtbase with GCC.
qlistview.cpp:1836:6: error: unused parameter ‘step’ [-Werror=unused-parameter] Change-Id: I8c2d16bd794204adafcf2dc049c04601506e7734 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>bb10
parent
260a983052
commit
1b5848957b
|
|
@ -1833,7 +1833,7 @@ void QCommonListViewBase::removeHiddenRow(int row)
|
|||
dd->hiddenRows.remove(dd->model->index(row, 0, qq->rootIndex()));
|
||||
}
|
||||
|
||||
void QCommonListViewBase::updateHorizontalScrollBar(const QSize &step)
|
||||
void QCommonListViewBase::updateHorizontalScrollBar(const QSize & /*step*/)
|
||||
{
|
||||
horizontalScrollBar()->setPageStep(viewport()->width());
|
||||
horizontalScrollBar()->setRange(0, contentsSize.width() - viewport()->width());
|
||||
|
|
|
|||
Loading…
Reference in New Issue