diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-03-06 10:25:30 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-03-06 12:21:41 +0000 |
commit | dd86a8f8cb5b70a01ec43f7ab54a78d2ea2782f5 (patch) | |
tree | aeed042daaa1f55d9cdb9df83b027bcfb5c5e25a /src/assistant/help/qhelpcontentwidget.h | |
parent | 2d07f5db4273d4aea7b9f9d924fdd84ce992052d (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: I0f056b1acb2b223ad224faea1747339247a8a3c4
Task-number: QTBUG-45291
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/assistant/help/qhelpcontentwidget.h')
-rw-r--r-- | src/assistant/help/qhelpcontentwidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assistant/help/qhelpcontentwidget.h b/src/assistant/help/qhelpcontentwidget.h index 43cd9b37b..2af6c022a 100644 --- a/src/assistant/help/qhelpcontentwidget.h +++ b/src/assistant/help/qhelpcontentwidget.h @@ -65,7 +65,7 @@ public: private: QHelpContentItem(const QString &name, const QString &link, - QHelpDBReader *reader, QHelpContentItem *parent = 0); + QHelpDBReader *reader, QHelpContentItem *parent = Q_NULLPTR); void appendChild(QHelpContentItem *child); QHelpContentItemPrivate *d; |