aboutsummaryrefslogtreecommitdiffstats
path: root/libs/qmldebug/qmlprofilertraceclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/qmldebug/qmlprofilertraceclient.cpp')
-rw-r--r--libs/qmldebug/qmlprofilertraceclient.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/qmldebug/qmlprofilertraceclient.cpp b/libs/qmldebug/qmlprofilertraceclient.cpp
index 49a4b2bb8d..bd0337ca4a 100644
--- a/libs/qmldebug/qmlprofilertraceclient.cpp
+++ b/libs/qmldebug/qmlprofilertraceclient.cpp
@@ -190,6 +190,8 @@ void QmlProfilerTraceClient::messageReceived(const QByteArray &data)
while (!stream.atEnd()) {
stream >> params[count++];
}
+ while (count<5)
+ params[count++] = 0;
emit sceneGraphFrame(SceneGraphFrameEvent, sgEventType, time, params[0], params[1], params[2], params[3], params[4]);
} else if (messageType == PixmapCacheEvent) {
int pixEvTy, width = -1, height = -1, refcount = -1;