forked from qt-creator/qt-creator
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:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user