summaryrefslogtreecommitdiff
path: root/src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2019-11-25 15:15:53 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2019-11-26 08:02:32 +0100
commitee32a6b5a0ba187606b9ad3cdfcf73cbbc1ce02f (patch)
tree6f407092e8fd53af85a0a82c18e4d5de8628bc05 /src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp
parentdd6b19788a0cb4b28e4c127a9384e75cc3097943 (diff)
downloadqtscript-ee32a6b5a0ba187606b9ad3cdfcf73cbbc1ce02f.tar.gz
Avoid initializing QFlags with 0 or nullptr
It is being deprecated. Change-Id: I772c028967f3c986674081992f569bd7bbba81a5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp')
-rw-r--r--src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp b/src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp
index 5cf68b6..712cb85 100644
--- a/src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp
+++ b/src/scripttools/debugging/qscriptdebuggerconsolewidget.cpp
@@ -315,7 +315,7 @@ void QScriptDebuggerConsoleWidgetPrivate::_q_onCompletionTaskFinished()
}
QScriptDebuggerConsoleWidget::QScriptDebuggerConsoleWidget(QWidget *parent)
- : QScriptDebuggerConsoleWidgetInterface(*new QScriptDebuggerConsoleWidgetPrivate, parent, 0)
+ : QScriptDebuggerConsoleWidgetInterface(*new QScriptDebuggerConsoleWidgetPrivate, parent, {})
{
Q_D(QScriptDebuggerConsoleWidget);
d->commandLine = new CommandLine();