mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-22 11:37:56 -04:00
Fixed a compilation warning
This commit is contained in:
parent
3ea69331d4
commit
4f197f5a38
@ -232,7 +232,7 @@ void ContentManagerModel::startDownload(QModelIndex index)
|
||||
percent = QString::number(percent, 'g', 3).toDouble();
|
||||
auto completedLength = convertToUnits(downloadInfos["completedLength"].toString());
|
||||
auto downloadSpeed = convertToUnits(downloadInfos["downloadSpeed"].toString()) + "/s";
|
||||
node->setDownloadInfo({percent, completedLength, downloadSpeed});
|
||||
node->setDownloadInfo({percent, completedLength, downloadSpeed, false});
|
||||
if (!downloadInfos["status"].isValid()) {
|
||||
node->setIsDownloading(false);
|
||||
timer->stop();
|
||||
|
Loading…
x
Reference in New Issue
Block a user