aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlfileselector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlfileselector.h')
-rw-r--r--src/qml/qml/qqmlfileselector.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlfileselector.h b/src/qml/qml/qqmlfileselector.h
index 362a15a27e..0aeea6775f 100644
--- a/src/qml/qml/qqmlfileselector.h
+++ b/src/qml/qml/qqmlfileselector.h
@@ -59,7 +59,10 @@ public:
QFileSelector *selector() const Q_DECL_NOTHROW;
void setSelector(QFileSelector *selector);
void setExtraSelectors(const QStringList &strings);
- static QQmlFileSelector* get(QQmlEngine*);
+
+#if QT_DEPRECATED_SINCE(6, 0)
+ QT_DEPRECATED static QQmlFileSelector *get(QQmlEngine*);
+#endif
private:
Q_DISABLE_COPY(QQmlFileSelector)