summaryrefslogtreecommitdiff
path: root/launcher/net/NetJob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/net/NetJob.cpp')
-rw-r--r--launcher/net/NetJob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/launcher/net/NetJob.cpp b/launcher/net/NetJob.cpp
index 9bad89edd0..d1c0d371f0 100644
--- a/launcher/net/NetJob.cpp
+++ b/launcher/net/NetJob.cpp
@@ -182,10 +182,10 @@ bool NetJob::abort()
{
bool fullyAborted = true;
// fail all waiting
- m_failed.unite(m_todo.toSet());
+ m_failed.unite(QSet<int>(m_todo.begin(), m_todo.end()));
m_todo.clear();
// abort active
- auto toKill = m_doing.toList();
+ auto toKill = m_doing.values();
for(auto index: toKill)
{
auto part = downloads[index];