From 7698e74387aa6266b2a8dd501d8670d5c9800d7a Mon Sep 17 00:00:00 2001 From: Angela Mazzurco Date: Wed, 12 Jul 2017 15:43:07 +0200 Subject: [PATCH] Set correct authority to handle image choosed --- retroshare-qml-app/src/components/CustomFileChooser.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-qml-app/src/components/CustomFileChooser.qml b/retroshare-qml-app/src/components/CustomFileChooser.qml index 299d7d11f..fd73d3c5c 100644 --- a/retroshare-qml-app/src/components/CustomFileChooser.qml +++ b/retroshare-qml-app/src/components/CustomFileChooser.qml @@ -29,7 +29,7 @@ Item if (Qt.platform.os === "android") { console.log("ImagePicker Android platform detected") - mainWindow.addUriHandler("media", androidResult) + mainWindow.addUriHandler("file", androidResult) androidImagePicker.openPicker() } else @@ -40,7 +40,7 @@ Item function androidResult (uri) { - console.log("Android image uri found" , uri) + console.log("@@@@@@@@@ Android image uri found" , uri) resultFile = uri mainWindow.delUriHandler("media", androidResult) }