QmlJS: Initialize QuickToolBar::m_editor.

Change-Id: I90f106affadb898b5eda613ad2a59bb3a5b53a2c
Reviewed-on: http://codereview.qt.nokia.com/1061
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
This commit is contained in:
Christian Kamm
2011-07-04 12:51:42 +02:00
committed by Thomas Hartmann
parent 0b70a63a8e
commit 41b15f2fa3

View File

@@ -92,7 +92,10 @@ static inline const Interpreter::ObjectValue * getPropertyChangesTarget(Node *no
return 0;
}
QuickToolBar::QuickToolBar(QObject *parent) : ::QmlJS::IContextPane(parent), m_blockWriting(false)
QuickToolBar::QuickToolBar(QObject *parent)
: ::QmlJS::IContextPane(parent)
, m_editor(0)
, m_blockWriting(false)
{
m_node = 0;
contextWidget();