diff --git a/src/controls/QskListView.cpp b/src/controls/QskListView.cpp index 046b7586..bcd80158 100644 --- a/src/controls/QskListView.cpp +++ b/src/controls/QskListView.cpp @@ -166,6 +166,8 @@ QskAspect::Subcontrol QskListView::rowSubControl( int row ) const noexcept QskAspect::Subcontrol QskListView::cellSubControl( int row, int col ) const noexcept { + Q_UNUSED(row); + Q_UNUSED(col); return Cell; } @@ -399,6 +401,7 @@ void QskListView::componentComplete() qreal QskListView::rowOffset( int row ) const { + Q_UNUSED(row); return 0.0; } diff --git a/src/controls/QskListViewSkinlet.cpp b/src/controls/QskListViewSkinlet.cpp index e045eeb7..3f87079e 100644 --- a/src/controls/QskListViewSkinlet.cpp +++ b/src/controls/QskListViewSkinlet.cpp @@ -136,7 +136,6 @@ void QskListViewSkinlet::updateBackgroundNode( const QskListView* listView, QSGN auto* boxNode = rowNode->firstChild(); auto prepend = boxNode == nullptr; - const auto color = listView->color(subControl); const auto gradient = listView->gradientHint(subControl); boxNode = updateBoxNode( listView, boxNode, boxRect, subControl ); @@ -168,7 +167,6 @@ void QskListViewSkinlet::updateBackgroundNodes( if ( rowMax >= listView->rowCount() ) rowMax = listView->rowCount() - 1; - const int rowSelected = listView->selectedRow(); const double x0 = viewRect.left(); const double y0 = viewRect.top();