1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

DownloadItem: Fix initialization of m_currSpeed

Fix showing invalid download speed in some cases.
This commit is contained in:
David Rosca 2015-11-12 17:03:45 +01:00
parent 9f6ec040bb
commit 60bc4ba715

View File

@ -55,6 +55,7 @@ DownloadItem::DownloadItem(QListWidgetItem *item, QWebEngineDownloadItem* downlo
, m_validIcon(false)
, m_downloading(false)
, m_downloadStopped(false)
, m_currSpeed(0)
, m_received(downloadItem->receivedBytes())
, m_total(downloadItem->totalBytes())
{