summaryrefslogtreecommitdiffstats
path: root/src/charts/barchart/vertical/percent
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-03 13:42:58 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-03-03 12:57:10 +0000
commitcf15f38aab8d89112b7c1f124482b626823827f5 (patch)
treee86ae9688cdc322f8d21c9f16682f3955ae2674f /src/charts/barchart/vertical/percent
parentea9744cf9a347aa7a94c96337390649fbf389547 (diff)
Make public headers compile with -Wzero-as-null-pointer-constant
... or equivalent. QtBase 5.6 headers already compile that way, so let the other modules follow suit. Change-Id: I79c74046eaf224235cc80a4323fefd2c083b007f Task-number: QTBUG-45291 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Diffstat (limited to 'src/charts/barchart/vertical/percent')
-rw-r--r--src/charts/barchart/vertical/percent/qpercentbarseries.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charts/barchart/vertical/percent/qpercentbarseries.h b/src/charts/barchart/vertical/percent/qpercentbarseries.h
index c987901f..04507be6 100644
--- a/src/charts/barchart/vertical/percent/qpercentbarseries.h
+++ b/src/charts/barchart/vertical/percent/qpercentbarseries.h
@@ -33,7 +33,7 @@ class QT_CHARTS_EXPORT QPercentBarSeries : public QAbstractBarSeries
{
Q_OBJECT
public:
- explicit QPercentBarSeries(QObject *parent = 0);
+ explicit QPercentBarSeries(QObject *parent = Q_NULLPTR);
~QPercentBarSeries();
QAbstractSeries::SeriesType type() const;