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: I713e704eb52d27d046ace1ff7d65feb98635461d
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
This commit is contained in:
sanevala
2013-02-12 12:18:24 +02:00
committed by The Qt Project
parent 5b57edae2a
commit c42e7baac9
2 changed files with 14 additions and 8 deletions

View File

@@ -101,10 +101,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