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()
|
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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user