QmlProfiler: Properly initialize variable

Change-Id: I9ecc8807b9319a6317e8f5f5711deadb45031f75
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Kai Koehne
2012-03-14 12:08:41 +01:00
committed by Christiaan Janssen
parent 01e785f549
commit bd28997385

View File

@@ -42,6 +42,7 @@ namespace Internal {
QmlProfilerCanvas::QmlProfilerCanvas()
: m_context2d(new Context2D(this))
, m_dirty(true)
{
setFlag(QGraphicsItem::ItemHasNoContents, false);
setAcceptedMouseButtons(Qt::LeftButton);