From ee32a6b5a0ba187606b9ad3cdfcf73cbbc1ce02f Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Mon, 25 Nov 2019 15:15:53 +0100 Subject: Avoid initializing QFlags with 0 or nullptr It is being deprecated. Change-Id: I772c028967f3c986674081992f569bd7bbba81a5 Reviewed-by: Allan Sandfeld Jensen --- src/scripttools/debugging/qscripterrorlogwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scripttools/debugging/qscripterrorlogwidget.cpp') diff --git a/src/scripttools/debugging/qscripterrorlogwidget.cpp b/src/scripttools/debugging/qscripterrorlogwidget.cpp index 165f0fd..3fd636d 100644 --- a/src/scripttools/debugging/qscripterrorlogwidget.cpp +++ b/src/scripttools/debugging/qscripterrorlogwidget.cpp @@ -90,7 +90,7 @@ QScriptErrorLogWidgetPrivate::~QScriptErrorLogWidgetPrivate() } QScriptErrorLogWidget::QScriptErrorLogWidget(QWidget *parent) - : QScriptErrorLogWidgetInterface(*new QScriptErrorLogWidgetPrivate, parent, 0) + : QScriptErrorLogWidgetInterface(*new QScriptErrorLogWidgetPrivate, parent, {}) { Q_D(QScriptErrorLogWidget); d->outputEdit = new QScriptErrorLogWidgetOutputEdit(); -- cgit v1.2.1