summaryrefslogtreecommitdiff
path: root/src/svg/qsvgwidget.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-02 13:59:24 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-03-02 22:48:32 +0000
commita0363376cfbfd9359adbd2501dd087dfb0a4eb98 (patch)
tree180b75299eb15dabfd8650b95b12bb26bcb79f88 /src/svg/qsvgwidget.h
parent36a22f2c48f7df34c71b2177ff9c8b65daef614c (diff)
downloadqtsvg-a0363376cfbfd9359adbd2501dd087dfb0a4eb98.tar.gz
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. Task-number: QTBUG-45291 Change-Id: I725682ffe00dab94f84b00eed3aa76377bb80519 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/svg/qsvgwidget.h')
-rw-r--r--src/svg/qsvgwidget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svg/qsvgwidget.h b/src/svg/qsvgwidget.h
index 86616e1..3b8c26a 100644
--- a/src/svg/qsvgwidget.h
+++ b/src/svg/qsvgwidget.h
@@ -53,8 +53,8 @@ class Q_SVG_EXPORT QSvgWidget : public QWidget
{
Q_OBJECT
public:
- QSvgWidget(QWidget *parent=0);
- QSvgWidget(const QString &file, QWidget *parent=0);
+ QSvgWidget(QWidget *parent = Q_NULLPTR);
+ QSvgWidget(const QString &file, QWidget *parent = Q_NULLPTR);
~QSvgWidget();
QSvgRenderer *renderer() const;