diff options
| author | Jonathan Bauer | 2011-03-05 00:02:12 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2011-03-05 00:02:12 +0100 |
| commit | 200a51b6703e1296a1386d7a937fcc8d01be68ec (patch) | |
| tree | 8fa3898ed957744066deec206d86b87f2517e948 /src/DownloadManager.cpp | |
| parent | Code cleanup, JSO class continued, added webkitTest.html for reference (diff) | |
| download | fbgui-200a51b6703e1296a1386d7a937fcc8d01be68ec.tar.gz fbgui-200a51b6703e1296a1386d7a937fcc8d01be68ec.tar.xz fbgui-200a51b6703e1296a1386d7a937fcc8d01be68ec.zip | |
little things...
Diffstat (limited to 'src/DownloadManager.cpp')
| -rw-r--r-- | src/DownloadManager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
