summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-16 00:36:20 +0100
committerJonathan Bauer2011-03-16 00:36:20 +0100
commit6e6631ea46a30b3a727f3b7b2b0fcbd4644d85c6 (patch)
tree509a811a180dddeaba64fc9e6f11f41f35d33c28 /src/fbgui.cpp
parentfixes (diff)
downloadfbgui-6e6631ea46a30b3a727f3b7b2b0fcbd4644d85c6.tar.gz
fbgui-6e6631ea46a30b3a727f3b7b2b0fcbd4644d85c6.tar.xz
fbgui-6e6631ea46a30b3a727f3b7b2b0fcbd4644d85c6.zip
update progress now calls updateProgressBar(percent, speed) speed in bytes/sec atm, adapt your sites...
Diffstat (limited to 'src/fbgui.cpp')
-rw-r--r--src/fbgui.cpp2
1 files changed, 1 insertions, 1 deletions
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);