From 0deb1ffda77f0410b3d13419856c757cdd422d2b Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 16 Jan 2019 17:30:56 +0100 Subject: Remove download items internally when API objects are deleted MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We were never removing internal download item. [ChangeLog][Behavioral Changes] Deleting a download item will now also cancel it if it is still in progress. Change-Id: I2fab497d7acf7ca6ca17f4a61e106b1c18bfb333 Reviewed-by: Jüri Valdmann --- src/core/profile_adapter.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/profile_adapter.h') diff --git a/src/core/profile_adapter.h b/src/core/profile_adapter.h index 65843eda3..f2a5cdb49 100644 --- a/src/core/profile_adapter.h +++ b/src/core/profile_adapter.h @@ -99,6 +99,7 @@ public: void cancelDownload(quint32 downloadId); void pauseDownload(quint32 downloadId); void resumeDownload(quint32 downloadId); + void removeDownload(quint32 downloadId); ProfileQt *profile(); -- cgit v1.2.3