From b0e7b15bfc6b5857aa79e52a947a23e88c2d9557 Mon Sep 17 00:00:00 2001
From: Kai Koehne <kai.koehne@nokia.com>
Date: Mon, 22 Feb 2010 10:09:16 +0100
Subject: [PATCH] Silence gcc warnings in qmldesigner

---
 .../qmldesigner/components/propertyeditor/propertyeditor.cpp    | 2 +-
 src/plugins/qmldesigner/core/instances/objectnodeinstance.cpp   | 2 +-
 src/plugins/qmldesigner/core/model/qmlmodelview.cpp             | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
index 09c835c5b3d..0a512a19a0e 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
+++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
@@ -119,7 +119,7 @@ void createPropertyEditorValue(const QmlObjectNode &fxObjectNode, const QString
     }
 }
 
-void PropertyEditor::NodeType::setValue(const QmlObjectNode &fxObjectNode, const QString &name, const QVariant &value)
+void PropertyEditor::NodeType::setValue(const QmlObjectNode & /*fxObjectNode*/, const QString &name, const QVariant &value)
 {
     PropertyEditorValue *propertyValue = qobject_cast<PropertyEditorValue*>(QmlMetaType::toQObject(m_backendValuesPropertyMap.value(name)));
     if (propertyValue)
diff --git a/src/plugins/qmldesigner/core/instances/objectnodeinstance.cpp b/src/plugins/qmldesigner/core/instances/objectnodeinstance.cpp
index c36011be1c2..141019e0a26 100644
--- a/src/plugins/qmldesigner/core/instances/objectnodeinstance.cpp
+++ b/src/plugins/qmldesigner/core/instances/objectnodeinstance.cpp
@@ -80,7 +80,7 @@ ChildrenChangeEventFilter::ChildrenChangeEventFilter(QObject *parent)
 }
 
 
-bool ChildrenChangeEventFilter::eventFilter(QObject *object, QEvent *event)
+bool ChildrenChangeEventFilter::eventFilter(QObject * /*object*/, QEvent *event)
 {
     switch (event->type()) {
         case QEvent::ChildAdded:
diff --git a/src/plugins/qmldesigner/core/model/qmlmodelview.cpp b/src/plugins/qmldesigner/core/model/qmlmodelview.cpp
index 1d04a20e7d9..310fc454ad2 100644
--- a/src/plugins/qmldesigner/core/model/qmlmodelview.cpp
+++ b/src/plugins/qmldesigner/core/model/qmlmodelview.cpp
@@ -344,7 +344,7 @@ void QmlModelView::otherPropertyChanged(const QmlObjectNode &/*qmlObjectNode*/,
 }
 
 
-void  QmlModelView::stateChanged(const QmlModelState &newQmlModelState, const QmlModelState &/*oldQmlModelState*/)
+void  QmlModelView::stateChanged(const QmlModelState &/*newQmlModelState*/, const QmlModelState &/*oldQmlModelState*/)
 {
 }
 
-- 
GitLab