mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
DownloadItem: Fix initialization of m_currSpeed
Fix showing invalid download speed in some cases.
This commit is contained in:
parent
9f6ec040bb
commit
60bc4ba715
@ -55,6 +55,7 @@ DownloadItem::DownloadItem(QListWidgetItem *item, QWebEngineDownloadItem* downlo
|
|||||||
, m_validIcon(false)
|
, m_validIcon(false)
|
||||||
, m_downloading(false)
|
, m_downloading(false)
|
||||||
, m_downloadStopped(false)
|
, m_downloadStopped(false)
|
||||||
|
, m_currSpeed(0)
|
||||||
, m_received(downloadItem->receivedBytes())
|
, m_received(downloadItem->receivedBytes())
|
||||||
, m_total(downloadItem->totalBytes())
|
, m_total(downloadItem->totalBytes())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user