Show status of downloading file

This commit is contained in:
wmayer 2013-06-12 23:15:13 +02:00
parent 2282b72025
commit 00b4fd364a

View File

@ -502,8 +502,8 @@ void DownloadItem::downloadProgress(qint64 bytesReceived, qint64 bytesTotal)
void DownloadItem::updateInfoLabel() void DownloadItem::updateInfoLabel()
{ {
if (m_reply->error() == QNetworkReply::NoError) //if (m_reply->error() == QNetworkReply::NoError)
return; // return;
qint64 bytesTotal = progressBar->maximum(); qint64 bytesTotal = progressBar->maximum();
bool running = !downloadedSuccessfully(); bool running = !downloadedSuccessfully();