forked from qt-creator/qt-creator
QmlDesigner: Fix clazy warning
Use nullptr Change-Id: I787794c67e89af7bc7a2d82def580bea3c8f2653 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -163,7 +163,7 @@ public:
|
|||||||
void setInLayoutable(bool isInLayoutable);
|
void setInLayoutable(bool isInLayoutable);
|
||||||
virtual void refreshLayoutable();
|
virtual void refreshLayoutable();
|
||||||
|
|
||||||
bool hasBindingForProperty(const PropertyName &propertyName, bool *hasChanged = 0) const;
|
bool hasBindingForProperty(const PropertyName &propertyName, bool *hasChanged = nullptr) const;
|
||||||
|
|
||||||
QQmlContext *context() const;
|
QQmlContext *context() const;
|
||||||
QQmlEngine *engine() const;
|
QQmlEngine *engine() const;
|
||||||
|
@@ -358,7 +358,7 @@ PropertyEditorNodeWrapper::PropertyEditorNodeWrapper(PropertyEditorValue* parent
|
|||||||
connect(m_editorValue, &PropertyEditorValue::modelNodeChanged, this, &PropertyEditorNodeWrapper::update);
|
connect(m_editorValue, &PropertyEditorValue::modelNodeChanged, this, &PropertyEditorNodeWrapper::update);
|
||||||
}
|
}
|
||||||
|
|
||||||
PropertyEditorNodeWrapper::PropertyEditorNodeWrapper(QObject *parent) : QObject(parent), m_editorValue(NULL)
|
PropertyEditorNodeWrapper::PropertyEditorNodeWrapper(QObject *parent) : QObject(parent), m_editorValue(nullptr)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user