Show status of downloading file
This commit is contained in:
parent
2282b72025
commit
00b4fd364a
|
@ -502,8 +502,8 @@ void DownloadItem::downloadProgress(qint64 bytesReceived, qint64 bytesTotal)
|
|||
|
||||
void DownloadItem::updateInfoLabel()
|
||||
{
|
||||
if (m_reply->error() == QNetworkReply::NoError)
|
||||
return;
|
||||
//if (m_reply->error() == QNetworkReply::NoError)
|
||||
// return;
|
||||
|
||||
qint64 bytesTotal = progressBar->maximum();
|
||||
bool running = !downloadedSuccessfully();
|
||||
|
|
Loading…
Reference in New Issue
Block a user