summaryrefslogtreecommitdiffstats
path: root/src/DownloadManager.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-09 20:28:17 +0100
committerJonathan Bauer2011-03-09 20:28:17 +0100
commite830cfcdee7f0ecb6d2b9a0d52ab19b28402eec2 (patch)
tree4e182931a584c5d4c00c426fd8bf4502d5de5e76 /src/DownloadManager.cpp
parentjavascriptInterface can be accessed by "fbgui" now (jsObject also for now..) (diff)
downloadfbgui-e830cfcdee7f0ecb6d2b9a0d52ab19b28402eec2.tar.gz
fbgui-e830cfcdee7f0ecb6d2b9a0d52ab19b28402eec2.tar.xz
fbgui-e830cfcdee7f0ecb6d2b9a0d52ab19b28402eec2.zip
DM also provides current file on update
Diffstat (limited to 'src/DownloadManager.cpp')
-rw-r--r--src/DownloadManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DownloadManager.cpp b/src/DownloadManager.cpp
index eb9832b..9f59010 100644
--- a/src/DownloadManager.cpp
+++ b/src/DownloadManager.cpp
@@ -119,7 +119,7 @@ void DownloadManager::downloadProgress(qint64 bytesIn, qint64 bytesTotal)
if (debug) qDebug() << "Download progress of " << currentDownload->url().toString()
<< ": " << bytesIn << "/" << bytesTotal;
qint64 tmp = ((bytesIn * 100) / bytesTotal);
- emit updateProgress((int)tmp);
+ emit updateProgress(currentDownload->url().toString(), (int)tmp);
}
// ----------------------------------------------------------------------------------------
// This slot listens to the finished() which is emmited