diff options
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 |
