QQmlMemoryProfiler: Fix dangling pointer use.
authorRobin Burchell <robin.burchell@jollamobile.com>
Tue, 3 Dec 2013 21:16:27 +0000 (22:16 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 4 Dec 2013 10:42:44 +0000 (11:42 +0100)
commit102f57376f5d1ace2e9a3e0ffa829a1bbc0d002c
tree288325994000606c6afc6e407a030545b15e2837
parent3131cad718733591787877642afe194ee8a3eb03
QQmlMemoryProfiler: Fix dangling pointer use.

toUtf8 returns a temporary, accessing constData isn't safe

Change-Id: I3c4d077f24cee0eaf1df230c4d8079619967b51a
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/qml/qml/qqmlmemoryprofiler.cpp