diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-03-22 11:09:26 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-03-22 12:35:43 +0000 |
commit | 433cfc3907b96c4172be03c267b6cb357f896e40 (patch) | |
tree | 1637b780504c19d26aedbc37f7b12826a6132d11 /src/activeqt/container/qaxselect.h | |
parent | 093622f7945461e9d4c4559306067c2dae06a0b7 (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: Iae48c528666459ebb368cd57615f4ead4147f872
Task-number: QTBUG-45291
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/activeqt/container/qaxselect.h')
-rw-r--r-- | src/activeqt/container/qaxselect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activeqt/container/qaxselect.h b/src/activeqt/container/qaxselect.h index 0b21c02..dc0a082 100644 --- a/src/activeqt/container/qaxselect.h +++ b/src/activeqt/container/qaxselect.h @@ -51,7 +51,7 @@ class QAxSelect : public QDialog { Q_OBJECT public: - QAxSelect(QWidget *parent = 0, Qt::WindowFlags flags = 0); + QAxSelect(QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()); ~QAxSelect(); QString clsid() const; |