From 6e6631ea46a30b3a727f3b7b2b0fcbd4644d85c6 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 16 Mar 2011 00:36:20 +0100 Subject: update progress now calls updateProgressBar(percent, speed) speed in bytes/sec atm, adapt your sites... --- src/fbgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fbgui.cpp') diff --git a/src/fbgui.cpp b/src/fbgui.cpp index e74db26..5a2d985 100644 --- a/src/fbgui.cpp +++ b/src/fbgui.cpp @@ -34,7 +34,7 @@ fbgui::fbgui() /* Init Download Manager */ downloadManager* dm = new downloadManager(); QObject::connect(jsi, SIGNAL(requestFile(QString&)), dm, SLOT(downloadFile(QString&))); - QObject::connect(dm, SIGNAL(updateProgress(QString, int)), jsi, SLOT(updateProgressBar(QString, int))); + QObject::connect(dm, SIGNAL(updateProgress(int, double)), jsi, SLOT(updateProgressBar(int, double))); QObject::connect(dm, SIGNAL(downloadQueueEmpty()), jsi, SLOT(callbackOnDlQueueFinished())); setAttribute(Qt::WA_QuitOnClose, true); -- cgit v1.2.3-55-g7522