User is not able to select file from FileBrowser and play it.
When string is converted to Url qrc:// scheme is used. Fix Filebrowser to use file:// scheme instead. Change-Id: I9617d9503ed403de7d017b8586ae37b05dc096cb Reviewed-by: Andy Nichols <andy.nichols@digia.com>
This commit is contained in:
@@ -100,10 +100,11 @@ Rectangle {
|
||||
Rectangle {
|
||||
id: wrapper
|
||||
function launch() {
|
||||
var path = "file:///" + filePath;
|
||||
if (folders.isFolder(index))
|
||||
down(filePath);
|
||||
down(path);
|
||||
else
|
||||
fileBrowser.selectFile(filePath)
|
||||
fileBrowser.selectFile(path)
|
||||
}
|
||||
width: root.width
|
||||
height: 52
|
||||
|
||||
Reference in New Issue
Block a user