QmlDesigner: Fix warnings

Change-Id: Id61a8e9e47563088283b5c024eb740acbc25faff
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Marco Bubke
2022-09-14 12:28:16 +02:00
parent 644c438c3a
commit 4726b0da2d
3 changed files with 3 additions and 3 deletions

View File

@@ -184,7 +184,7 @@ void ConnectionView::importsChanged(const QList<Import> & /*addedImports*/, cons
backendModel()->resetModel(); backendModel()->resetModel();
} }
void ConnectionView::currentStateChanged(const ModelNode &node) void ConnectionView::currentStateChanged(const ModelNode &)
{ {
dynamicPropertiesModel()->reset(); dynamicPropertiesModel()->reset();
} }

View File

@@ -191,7 +191,7 @@ void DynamicPropertiesProxyModel::createProperty(const QString &name, const QStr
} }
} }
DynamicPropertyRow::DynamicPropertyRow(QObject *parent) DynamicPropertyRow::DynamicPropertyRow()
{ {
m_backendValue = new PropertyEditorValue(this); m_backendValue = new PropertyEditorValue(this);

View File

@@ -76,7 +76,7 @@ class DynamicPropertyRow : public QObject
Q_PROPERTY(DynamicPropertiesProxyModel *model READ model WRITE setModel NOTIFY modelChanged FINAL) Q_PROPERTY(DynamicPropertiesProxyModel *model READ model WRITE setModel NOTIFY modelChanged FINAL)
public: public:
explicit DynamicPropertyRow(QObject *parent = nullptr); explicit DynamicPropertyRow();
~DynamicPropertyRow(); ~DynamicPropertyRow();
static void registerDeclarativeType(); static void registerDeclarativeType();