diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-03-06 12:20:49 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-03-06 12:22:33 +0000 |
commit | 0a29d74a5e875ad2e0229ed2c8e48344f87a45e0 (patch) | |
tree | cef7d55c367ee643f881d4f98051e3945f94b60d /src/scripttools/debugging/qscriptenginedebugger.h | |
parent | 751c105984532f41de4c5f712f36f4c2579a60b7 (diff) | |
download | qtscript-0a29d74a5e875ad2e0229ed2c8e48344f87a45e0.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: I7e007ee907c479320a885af329745563c080467d
Task-number: QTBUG-45291
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/scripttools/debugging/qscriptenginedebugger.h')
-rw-r--r-- | src/scripttools/debugging/qscriptenginedebugger.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scripttools/debugging/qscriptenginedebugger.h b/src/scripttools/debugging/qscriptenginedebugger.h index 0286072..7fd5c77 100644 --- a/src/scripttools/debugging/qscriptenginedebugger.h +++ b/src/scripttools/debugging/qscriptenginedebugger.h @@ -89,7 +89,7 @@ public: SuspendedState }; - QScriptEngineDebugger(QObject *parent = 0); + QScriptEngineDebugger(QObject *parent = Q_NULLPTR); ~QScriptEngineDebugger(); void attachTo(QScriptEngine *engine); @@ -101,8 +101,8 @@ public: #ifndef QT_NO_MAINWINDOW QMainWindow *standardWindow() const; #endif - QToolBar *createStandardToolBar(QWidget *parent = 0); - QMenu *createStandardMenu(QWidget *parent = 0); + QToolBar *createStandardToolBar(QWidget *parent = Q_NULLPTR); + QMenu *createStandardMenu(QWidget *parent = Q_NULLPTR); QWidget *widget(DebuggerWidget widget) const; QAction *action(DebuggerAction action) const; |