forked from qt-creator/qt-creator
Fix missing constructor initialisations where it affects codepaths.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user