From 541e8a58955cd87d5599b779ef2e2331a966fd0f Mon Sep 17 00:00:00 2001 From: Kai Koehne <kai.koehne@nokia.com> Date: Thu, 25 Feb 2010 12:12:56 +0100 Subject: [PATCH] QmlDesigner: Code beautification --- .../qmldesigner/components/propertyeditor/propertyeditor.h | 3 ++- src/plugins/qmldesigner/core/model/qmlmodelview.cpp | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h index 48ded7ef794..3c9b4ed2d8e 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.h @@ -97,8 +97,9 @@ protected: void timerEvent(QTimerEvent *event); void otherPropertyChanged(const QmlObjectNode &, const QString &propertyName); void transformChanged(const QmlObjectNode &qmlObjectNode, const QString &propertyName); - void setupPane(const QString &typeName); void stateChanged(const QmlModelState &newQmlModelState, const QmlModelState &oldQmlModelState); + + void setupPane(const QString &typeName); void setValue(const QmlObjectNode &fxObjectNode, const QString &name, const QVariant &value); private slots: diff --git a/src/plugins/qmldesigner/core/model/qmlmodelview.cpp b/src/plugins/qmldesigner/core/model/qmlmodelview.cpp index 310fc454ad2..dba349868f9 100644 --- a/src/plugins/qmldesigner/core/model/qmlmodelview.cpp +++ b/src/plugins/qmldesigner/core/model/qmlmodelview.cpp @@ -335,15 +335,12 @@ void QmlModelView::transformChanged(const QmlObjectNode &/*qmlObjectNode*/, cons void QmlModelView::parentChanged(const QmlObjectNode &/*qmlObjectNode*/) { - } void QmlModelView::otherPropertyChanged(const QmlObjectNode &/*qmlObjectNode*/, const QString &/*propertyName*/) { - } - void QmlModelView::stateChanged(const QmlModelState &/*newQmlModelState*/, const QmlModelState &/*oldQmlModelState*/) { } -- GitLab