aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmltypeloaderqmldircontent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmltypeloaderqmldircontent.cpp')
-rw-r--r--src/qml/qml/qqmltypeloaderqmldircontent.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/qml/qqmltypeloaderqmldircontent.cpp b/src/qml/qml/qqmltypeloaderqmldircontent.cpp
index 0eddf796d7..ca9f5fc80d 100644
--- a/src/qml/qml/qqmltypeloaderqmldircontent.cpp
+++ b/src/qml/qml/qqmltypeloaderqmldircontent.cpp
@@ -115,6 +115,11 @@ QString QQmlTypeLoaderQmldirContent::qmldirLocation() const
return m_location;
}
+QString QQmlTypeLoaderQmldirContent::preferredPath() const
+{
+ return m_parser.preferredPath();
+}
+
bool QQmlTypeLoaderQmldirContent::designerSupported() const
{
return m_parser.designerSupported();