Integrate file uploads and downloads with plasma's job tracker
Implements #538
This commit is contained in:
@@ -160,10 +160,10 @@ TimelineContainer {
|
||||
FileDialog {
|
||||
fileMode: FileDialog.SaveFile
|
||||
folder: StandardPaths.writableLocation(StandardPaths.DownloadLocation)
|
||||
onAccepted: if (openSavedFile) {
|
||||
onAccepted: if (autoOpenFile) {
|
||||
UrlHelper.copyTo(progressInfo.localPath, file)
|
||||
} else {
|
||||
currentRoom.downloadFile(eventId, file);
|
||||
currentRoom.download(eventId, file);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user