From 200a51b6703e1296a1386d7a937fcc8d01be68ec Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Sat, 5 Mar 2011 00:02:12 +0100 Subject: little things... --- src/DownloadManager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/DownloadManager.cpp') diff --git a/src/DownloadManager.cpp b/src/DownloadManager.cpp index 3314055..bb43b04 100644 --- a/src/DownloadManager.cpp +++ b/src/DownloadManager.cpp @@ -78,12 +78,11 @@ void DownloadManager::downloadReady() // which provides information on the download progress of the file. void DownloadManager::downloadProgress(qint64 bytesIn, qint64 bytesTotal) { + qDebug() << "Download progress of " << currentDownload->url().toString() << ": " << bytesIn << "/" << bytesTotal; - qint64 tmp = ((bytesIn * 100) / bytesTotal); emit updateProgress((int)tmp); - qDebug() << "progress in is: " << tmp << "(" << (int)tmp << ")"; } // ---------------------------------------------------------------------------------------- // This slot listens to the finished() which is emmited -- cgit v1.2.3-55-g7522