summaryrefslogtreecommitdiffstats
path: root/src/core/profile_adapter.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-01-16 17:30:56 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-01-21 10:06:01 +0000
commit0deb1ffda77f0410b3d13419856c757cdd422d2b (patch)
tree9206e32b8b23f7b8df827ec051182dbfc96d80af /src/core/profile_adapter.h
parent3f7ea91e23d82e676aeaf157736e25cf54e5ec6b (diff)
Remove download items internally when API objects are deleted
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 <juri.valdmann@qt.io>
Diffstat (limited to 'src/core/profile_adapter.h')
-rw-r--r--src/core/profile_adapter.h1
1 files changed, 1 insertions, 0 deletions
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();