Commit 676e4f58 authored by Ulf Hermann's avatar Ulf Hermann
Browse files

QmlProfiler: Properly initialize private members of timeline models



Task-number: QTCREATORBUG-11565
Change-Id: I227fba871beeed79923e794c03a08ff154c9e4f8
Reviewed-by: default avatarKai Koehne <kai.koehne@digia.com>
parent 0b6b67ca
......@@ -71,6 +71,10 @@ PaintEventsModelProxy::PaintEventsModelProxy(QObject *parent)
QLatin1String("PaintEventsModelProxy"), tr("Painting"),
QmlDebug::Painting, parent)
{
Q_D(PaintEventsModelProxy);
d->seenForeignPaintEvent = false;
d->minAnimationCount = 1;
d->maxAnimationCount = 1;
}
......
......@@ -73,6 +73,8 @@ BasicTimelineModel::BasicTimelineModel(QObject *parent)
: AbstractTimelineModel(new BasicTimelineModelPrivate, QLatin1String("BasicTimelineModel"),
parent)
{
Q_D(BasicTimelineModel);
d->seenPaintEvent = false;
}
void BasicTimelineModel::clear()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment