mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 18:23:19 +00:00
Change 'File' concept to a 'Resource' abstract concept
This commit is contained in:
parent
7eb54cddce
commit
ca34562a1c
23 changed files with 447 additions and 351 deletions
|
@ -44,8 +44,8 @@ ColumnLayout {
|
|||
id: fileDialog
|
||||
currentFolder: StandardPaths.standardLocations(StandardPaths.PicturesLocation)[0]
|
||||
onAccepted: {
|
||||
console.log(selectedFile)
|
||||
internal.paths = [...internal.paths, selectedFile]
|
||||
console.log(selectedFile.toString())
|
||||
internal.paths = [...internal.paths, selectedFile.toString().replace(/^file:\/\//, "")]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue