summaryrefslogtreecommitdiffstats
path: root/logic/net/NetJob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/net/NetJob.cpp')
-rw-r--r--logic/net/NetJob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/net/NetJob.cpp b/logic/net/NetJob.cpp
index e10afbc8..5a50b876 100644
--- a/logic/net/NetJob.cpp
+++ b/logic/net/NetJob.cpp
@@ -29,7 +29,7 @@ void NetJob::partSucceeded(int index)
m_doing.remove(index);
m_done.insert(index);
- disconnect(downloads[index].get(), 0, this, 0);
+ downloads[index].get()->disconnect(this);
startMoreParts();
}
@@ -46,7 +46,7 @@ void NetJob::partFailed(int index)
slot.failures++;
m_todo.enqueue(index);
}
- disconnect(downloads[index].get(), 0, this, 0);
+ downloads[index].get()->disconnect(this);
startMoreParts();
}