diff --git a/src/plugins/qmldesigner/components/annotationeditor/annotationeditordialog.cpp b/src/plugins/qmldesigner/components/annotationeditor/annotationeditordialog.cpp index 48c8c34f189..bf4e3ce74da 100644 --- a/src/plugins/qmldesigner/components/annotationeditor/annotationeditordialog.cpp +++ b/src/plugins/qmldesigner/components/annotationeditor/annotationeditordialog.cpp @@ -43,10 +43,9 @@ AnnotationEditorDialog::AnnotationEditorDialog(QWidget *parent, const QString &targetId, const QString &customId) : QDialog(parent) - , m_defaults(std::make_unique()) - , m_customId(customId) , ui(std::make_unique()) - , m_statusIsActive(false) + , m_customId(customId) + , m_defaults(std::make_unique()) { ui->setupUi(this); setGlobal(m_isGlobal); diff --git a/src/plugins/qmldesigner/components/debugview/debugview.cpp b/src/plugins/qmldesigner/components/debugview/debugview.cpp index a8b0b34f10e..62626b89cd7 100644 --- a/src/plugins/qmldesigner/components/debugview/debugview.cpp +++ b/src/plugins/qmldesigner/components/debugview/debugview.cpp @@ -515,6 +515,7 @@ void DebugView::currentStateChanged(const ModelNode &/*node*/) void DebugView::nodeOrderChanged(const NodeListProperty &listProperty) { + Q_UNUSED(listProperty) if (isDebugViewEnabled()) { QTextStream message; QString string; diff --git a/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp b/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp index ac9fbab89e3..8200558d182 100644 --- a/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp +++ b/src/plugins/qmldesigner/components/formeditor/formeditoritem.cpp @@ -60,7 +60,6 @@ const int startItemOffset = 96; const qreal labelFontSize = 10; const qreal labelShowThreshold = 0.25; // Everything lower than that will hide all labels -const qreal defaultDpi = 96.0; void drawIcon(QPainter *painter, int x, diff --git a/src/plugins/qmldesigner/components/timelineeditor/timelineview.cpp b/src/plugins/qmldesigner/components/timelineeditor/timelineview.cpp index ed35459ded3..cb9ed8f0cd4 100644 --- a/src/plugins/qmldesigner/components/timelineeditor/timelineview.cpp +++ b/src/plugins/qmldesigner/components/timelineeditor/timelineview.cpp @@ -420,6 +420,8 @@ void TimelineView::customNotification(const AbstractView * /*view*/, const QList &nodeList, const QList &data) { + Q_UNUSED(nodeList) + Q_UNUSED(data) if (identifier == QStringLiteral("reset QmlPuppet")) { QmlTimeline timeline = widget()->graphicsScene()->currentTimeline(); if (timeline.isValid())