summaryrefslogtreecommitdiff
path: root/Source/WebKit/qt/WidgetApi/qwebinspector.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-03 20:07:42 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-03-04 09:34:44 +0000
commit3ecebca8361030d0adeb65af21e77334ab91e481 (patch)
tree282b124a8f65cc8480cf3476e6f0e497e139b7a9 /Source/WebKit/qt/WidgetApi/qwebinspector.h
parent4aed18cdbc79105b704a298e88af563f30e2eeb0 (diff)
downloadqtwebkit-3ecebca8361030d0adeb65af21e77334ab91e481.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. Change-Id: I9e521f91abe7972843eeeb6406f8605778dabbaf Task-number: QTBUG-45291 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'Source/WebKit/qt/WidgetApi/qwebinspector.h')
-rw-r--r--Source/WebKit/qt/WidgetApi/qwebinspector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/qt/WidgetApi/qwebinspector.h b/Source/WebKit/qt/WidgetApi/qwebinspector.h
index c333fa25a..3fcb853f7 100644
--- a/Source/WebKit/qt/WidgetApi/qwebinspector.h
+++ b/Source/WebKit/qt/WidgetApi/qwebinspector.h
@@ -30,7 +30,7 @@ class QWebInspectorPrivate;
class QWEBKITWIDGETS_EXPORT QWebInspector : public QWidget {
Q_OBJECT
public:
- QWebInspector(QWidget* parent = 0);
+ QWebInspector(QWidget* parent = Q_NULLPTR);
~QWebInspector();
void setPage(QWebPage* page);