summaryrefslogtreecommitdiffstats
path: root/src/charts/barchart/vertical/percent/percentbarchartitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/charts/barchart/vertical/percent/percentbarchartitem.cpp')
-rw-r--r--src/charts/barchart/vertical/percent/percentbarchartitem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/charts/barchart/vertical/percent/percentbarchartitem.cpp b/src/charts/barchart/vertical/percent/percentbarchartitem.cpp
index a3a00aa5..1cc4d27f 100644
--- a/src/charts/barchart/vertical/percent/percentbarchartitem.cpp
+++ b/src/charts/barchart/vertical/percent/percentbarchartitem.cpp
@@ -46,7 +46,7 @@ PercentBarChartItem::PercentBarChartItem(QAbstractBarSeries *series, QGraphicsIt
QString PercentBarChartItem::generateLabelText(int set, int category, qreal value)
{
- Q_UNUSED(value)
+ Q_UNUSED(value);
static const QString valueTag(QLatin1String("@value"));
qreal p = m_series->d_func()->percentageAt(set, category) * 100.0;
@@ -66,8 +66,8 @@ QString PercentBarChartItem::generateLabelText(int set, int category, qreal valu
void PercentBarChartItem::initializeLayout(int set, int category,
int layoutIndex, bool resetAnimation)
{
- Q_UNUSED(set)
- Q_UNUSED(resetAnimation)
+ Q_UNUSED(set);
+ Q_UNUSED(resetAnimation);
QRectF rect;
@@ -99,7 +99,7 @@ void PercentBarChartItem::initializeLayout(int set, int category,
void PercentBarChartItem::markLabelsDirty(QBarSet *barset, int index, int count)
{
- Q_UNUSED(barset)
+ Q_UNUSED(barset);
// Percent series need to dirty all labels of the stack
QList<QBarSet *> sets = m_barMap.keys();
for (int set = 0; set < sets.size(); set++)