diff options
Diffstat (limited to 'share/qtcreator/templates/qt4project/customwidgetwizard/tpl_widget.h')
-rw-r--r-- | share/qtcreator/templates/qt4project/customwidgetwizard/tpl_widget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/templates/qt4project/customwidgetwizard/tpl_widget.h b/share/qtcreator/templates/qt4project/customwidgetwizard/tpl_widget.h index 50256c5ff5..3ec192c6d3 100644 --- a/share/qtcreator/templates/qt4project/customwidgetwizard/tpl_widget.h +++ b/share/qtcreator/templates/qt4project/customwidgetwizard/tpl_widget.h @@ -12,7 +12,7 @@ class @WIDGET_CLASS@ : public @WIDGET_BASE_CLASS@ Q_OBJECT public: - @WIDGET_CLASS@(QWidget *parent = 0); + explicit @WIDGET_CLASS@(QWidget *parent = nullptr); }; @if ! '%{Cpp:PragmaOnce}' |