aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlfileselector_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlfileselector_p.h')
-rw-r--r--src/qml/qml/qqmlfileselector_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlfileselector_p.h b/src/qml/qml/qqmlfileselector_p.h
index 501f563ade..73a98788ee 100644
--- a/src/qml/qml/qqmlfileselector_p.h
+++ b/src/qml/qml/qqmlfileselector_p.h
@@ -71,7 +71,7 @@ public:
QFileSelector* selector;
QPointer<QQmlEngine> engine;
bool ownSelector;
- QQmlFileSelectorInterceptor* myInstance;
+ QScopedPointer<QQmlFileSelectorInterceptor> myInstance;
};
class Q_QML_PRIVATE_EXPORT QQmlFileSelectorInterceptor : public QQmlAbstractUrlInterceptor