From 5c4da3cd0886e58509e2e9072c2b312c3def6316 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Thu, 7 Jun 2018 11:37:00 -0700 Subject: [PATCH] Specify fully qualified in folder url --- src/QmlControls/QGCFileDialog.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/QmlControls/QGCFileDialog.qml b/src/QmlControls/QGCFileDialog.qml index ecd0782ca..d70730a07 100644 --- a/src/QmlControls/QGCFileDialog.qml +++ b/src/QmlControls/QGCFileDialog.qml @@ -15,7 +15,7 @@ Item { visible: false property var qgcView - property string folder + property string folder // Due to Qt bug with file url parsing this must be an absolute path property var nameFilters property string fileExtension // Primary file extension to search for property string fileExtension2: "" // Secondary file extension to search for @@ -75,7 +75,7 @@ Item { // the FileDialog fallback mechanism on android 5.9 builds. HackFileDialog { id: fullFileDialog - folder: "file://" + _root.folder + folder: "file:///" + _root.folder nameFilters: _root.nameFilters ? _root.nameFilters : [] title: _root.title selectExisting: _root.selectExisting -- 2.22.0