From d8caab515aa641ec901592d40b5d30c6dfd282f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 26 Jul 2015 17:55:29 +0200 Subject: GH-1053 add back update progress dialog --- logic/net/NetJob.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'logic/net/NetJob.h') diff --git a/logic/net/NetJob.h b/logic/net/NetJob.h index 4ac6d769..9e4656c7 100644 --- a/logic/net/NetJob.h +++ b/logic/net/NetJob.h @@ -49,10 +49,10 @@ public: // if this is already running, the action needs to be started right away! if (isRunning()) { - emit progress(current_progress, total_progress); + setProgress(current_progress, total_progress); connect(base.get(), SIGNAL(succeeded(int)), SLOT(partSucceeded(int))); connect(base.get(), SIGNAL(failed(int)), SLOT(partFailed(int))); - connect(base.get(), SIGNAL(progress(int, qint64, qint64)), + connect(base.get(), SIGNAL(netActionProgress(int, qint64, qint64)), SLOT(partProgress(int, qint64, qint64))); base->start(); } -- cgit v1.2.3