mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Fix freeSpaceInfo cache not being reset.
This commit is contained in:
parent
b8e68a5ea9
commit
ee743717e5
|
@ -91,6 +91,8 @@ void PlacesItemListWidget::updateCapacityBar()
|
|||
void PlacesItemListWidget::resetCapacityBar()
|
||||
{
|
||||
m_drawCapacityBar = false;
|
||||
delete m_freeSpaceInfo.job;
|
||||
m_freeSpaceInfo.lastUpdated = QDateTime();
|
||||
m_freeSpaceInfo.size = 0;
|
||||
m_freeSpaceInfo.used = 0;
|
||||
m_freeSpaceInfo.usedRatio = 0;
|
||||
|
|
Loading…
Reference in a new issue