fix unused parameter warnings
should clean this up properly
This commit is contained in:
parent
0c6ce610e0
commit
5ed750a39c
|
@ -35,5 +35,5 @@ Humidity::Humidity( QQuickItem* parent )
|
||||||
value->setFontRole( QskSkin::HugeFont );
|
value->setFontRole( QskSkin::HugeFont );
|
||||||
value->setTextColor( "#929CB2" );
|
value->setTextColor( "#929CB2" );
|
||||||
|
|
||||||
auto* buttons = new UpAndDownButton( layout );
|
/*auto* buttons =*/ new UpAndDownButton( layout );
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,7 +73,7 @@ class ProgressBarAnimator : public QskAnimator
|
||||||
CircularProgressBar* m_progressBar;
|
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 )
|
: QskControl( parent )
|
||||||
, m_color( color )
|
, m_color( color )
|
||||||
, m_gradient( gradient )
|
, m_gradient( gradient )
|
||||||
|
|
|
@ -65,7 +65,7 @@ QSGNode* PieChartSkinlet::updatePanelNode( const PieChart* pieChart, QSGNode* no
|
||||||
return boxNode;
|
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();
|
const int labelsCount = pieChart->labels().count();
|
||||||
|
|
||||||
|
|
|
@ -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 );
|
auto shadowNode = static_cast<ShadowedRectangleNode*>( node );
|
||||||
|
|
||||||
|
|
|
@ -52,6 +52,6 @@ UpAndDownButton::UpAndDownButton( QQuickItem* parent )
|
||||||
setSizePolicy( Qt::Horizontal, QskSizePolicy::Fixed );
|
setSizePolicy( Qt::Horizontal, QskSizePolicy::Fixed );
|
||||||
setSpacing( 0 );
|
setSpacing( 0 );
|
||||||
|
|
||||||
auto* upButton = new RoundButton( Qt::TopEdge, this );
|
/*auto* upButton =*/ new RoundButton( Qt::TopEdge, this );
|
||||||
auto* downButton = new RoundButton( Qt::BottomEdge, this );
|
/*auto* downButton =*/ new RoundButton( Qt::BottomEdge, this );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue