mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-03 04:39:24 +00:00
19 lines
No EOL
386 B
QML
19 lines
No EOL
386 B
QML
import QtQuick.Dialogs 1.2 as Dialogs
|
|
|
|
|
|
import UtilsCpp 1.0
|
|
|
|
Dialogs.FileDialog {
|
|
id:mainItem
|
|
|
|
function getFileUrls(){
|
|
var decodedFiles = [];
|
|
for(var i = 0 ; i < fileDialog.fileUrls.length ; ++i)
|
|
decodedFiles.push(UtilsCpp.decodePercentFromUtf8(fileDialog.fileUrls[i]))
|
|
return decodedFiles;
|
|
}
|
|
|
|
function getFileUrl(){
|
|
return UtilsCpp.decodePercentFromUtf8(fileUrl)
|
|
}
|
|
} |