QmlProfiler: Initialize pointer

Change-Id: I592ba7c058cc8665dfd5e010bb14e77fa9072619
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Robert Loehning
2018-07-27 14:01:06 +02:00
parent 8a0295c35d
commit f8fb8767da

View File

@@ -45,7 +45,7 @@ namespace Internal {
class QmlProfilerStateWidget::QmlProfilerStateWidgetPrivate class QmlProfilerStateWidget::QmlProfilerStateWidgetPrivate
{ {
public: public:
QmlProfilerStateWidgetPrivate(QmlProfilerStateWidget *qq) { Q_UNUSED(qq); } QmlProfilerStateWidgetPrivate(QmlProfilerStateWidget *qq) : text(nullptr) { Q_UNUSED(qq); }
QLabel *text; QLabel *text;