aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmllist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmllist.h')
-rw-r--r--src/qml/qml/qqmllist.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/qml/qml/qqmllist.h b/src/qml/qml/qqmllist.h
index 6b5c927f69..051f3d67ff 100644
--- a/src/qml/qml/qqmllist.h
+++ b/src/qml/qml/qqmllist.h
@@ -162,14 +162,12 @@ class Q_QML_EXPORT QQmlListReference
public:
QQmlListReference();
-#if QT_DEPRECATED_SINCE(6, 3)
+#if QT_DEPRECATED_SINCE(6, 4)
QT_DEPRECATED_X("Drop the QQmlEngine* argument")
- QQmlListReference(const QVariant &variant, QQmlEngine *)
- : QQmlListReference(variant) {}
+ QQmlListReference(const QVariant &variant, [[maybe_unused]] QQmlEngine *engine);
QT_DEPRECATED_X("Drop the QQmlEngine* argument")
- QQmlListReference(QObject *o, const char *property, QQmlEngine *)
- : QQmlListReference(o, property) {}
+ QQmlListReference(QObject *o, const char *property, [[maybe_unused]] QQmlEngine *engine);
#endif
explicit QQmlListReference(const QVariant &variant);