Commit dfe6860c authored by Linus Jahn's avatar Linus Jahn 🍙

Fix mobile file chooser, Use QtQuick.Dialogs on desktop

parent 0f35b957
Pipeline #320 passed with stages
in 4 minutes and 26 seconds
......@@ -74,7 +74,7 @@ Item {
Connections {
target: fileChooserLoader.item
onAccepted: {
fileUrl = fileChooserLoader.item.file
fileUrl = fileChooserLoader.item.fileUrl
root.accepted()
console.log("Child file dialog accepted. URL: " + fileUrl)
}
......
......@@ -29,7 +29,7 @@
*/
import QtQuick 2.6
import Qt.labs.platform 1.0
import QtQuick.Dialogs 1.2
FileDialog {
id: fileDialog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment