fix unused parameter warnings

should clean this up properly
This commit is contained in:
Peter Hartmann 2021-03-26 09:37:26 +01:00
parent 0c6ce610e0
commit 5ed750a39c
5 changed files with 6 additions and 6 deletions

View File

@ -35,5 +35,5 @@ Humidity::Humidity( QQuickItem* parent )
value->setFontRole( QskSkin::HugeFont );
value->setTextColor( "#929CB2" );
auto* buttons = new UpAndDownButton( layout );
/*auto* buttons =*/ new UpAndDownButton( layout );
}

View File

@ -73,7 +73,7 @@ class ProgressBarAnimator : public QskAnimator
CircularProgressBar* m_progressBar;
};
PieChartPainted::PieChartPainted( const QColor& color, const QGradient& gradient, int progress, int value, QQuickItem* parent )
PieChartPainted::PieChartPainted( const QColor& color, const QGradient& gradient, int progress, int /*value*/, QQuickItem* parent )
: QskControl( parent )
, m_color( color )
, m_gradient( gradient )

View File

@ -65,7 +65,7 @@ QSGNode* PieChartSkinlet::updatePanelNode( const PieChart* pieChart, QSGNode* no
return boxNode;
}
QSGNode* PieChartSkinlet::updateLabelsNode( const PieChart* pieChart, QSGNode* node ) const
QSGNode* PieChartSkinlet::updateLabelsNode( const PieChart* pieChart, QSGNode* /*node*/ ) const
{
const int labelsCount = pieChart->labels().count();

View File

@ -30,7 +30,7 @@ QSGNode* QskShadowedRectangleSkinlet::updateSubNode( const QskSkinnable* skinnab
}
}
QSGNode* QskShadowedRectangleSkinlet::updateShadowNode( const QskShadowedRectangle* rectangle, QSGNode* node ) const
QSGNode* QskShadowedRectangleSkinlet::updateShadowNode( const QskShadowedRectangle* /*rectangle*/, QSGNode* node ) const
{
auto shadowNode = static_cast<ShadowedRectangleNode*>( node );

View File

@ -52,6 +52,6 @@ UpAndDownButton::UpAndDownButton( QQuickItem* parent )
setSizePolicy( Qt::Horizontal, QskSizePolicy::Fixed );
setSpacing( 0 );
auto* upButton = new RoundButton( Qt::TopEdge, this );
auto* downButton = new RoundButton( Qt::BottomEdge, this );
/*auto* upButton =*/ new RoundButton( Qt::TopEdge, this );
/*auto* downButton =*/ new RoundButton( Qt::BottomEdge, this );
}