Commit 7ccfd479 authored by Bill King's avatar Bill King
Browse files

Fix missing constructor initialisations where it affects codepaths.

parent 9e7d91a5
......@@ -229,7 +229,7 @@ PropertyEditorNodeWrapper::PropertyEditorNodeWrapper(PropertyEditorValue* parent
connect(m_editorValue, SIGNAL(modelNodeChanged()), this, SLOT(update()));
}
PropertyEditorNodeWrapper::PropertyEditorNodeWrapper(QObject *parent) : QObject(parent)
PropertyEditorNodeWrapper::PropertyEditorNodeWrapper(QObject *parent) : QObject(parent), m_editorValue(NULL)
{
}
......
......@@ -48,7 +48,9 @@ namespace Internal {
*/
InternalNode::InternalNode() :
m_valid(false)
m_valid(false),
m_majorVersion(0),
m_minorVersion(0)
{
}
......
......@@ -35,8 +35,11 @@
using namespace QmlDesigner;
DesignerSettings::DesignerSettings()
: openDesignMode(QmlDesigner::Constants::QML_OPENDESIGNMODE_DEFAULT)
: openDesignMode(QmlDesigner::Constants::QML_OPENDESIGNMODE_DEFAULT),
itemSpacing(0),
snapMargin(0)
{}
void DesignerSettings::fromSettings(QSettings *settings)
{
settings->beginGroup(QLatin1String(QmlDesigner::Constants::QML_SETTINGS_GROUP));
......
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