┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2020-04-18 19:10:14 +0200
committerMéven Car <[email protected]>2020-04-18 19:16:52 +0200
commitb274b6145bf73f00005e1adb38a87c08c90e4768 (patch)
tree7bd907bdcd9731ffbaa55a1c9178bbed14b0849c /src/views
parent196f4553e68a89d0162685f2df9a32a58e3ff479 (diff)
Allow statusbar and information panel to stat with KIO::StatRecursiveSize
Summary: Needed after D28901 to ensure we get the UDS_RECURSIVE_SIZE out of the stat calls. Test Plan: Trash size is visible in status bar and information panel again. Reviewers: ngraham, dfaure, #dolphin Reviewed By: dfaure Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D28950
Diffstat (limited to 'src/views')
-rw-r--r--src/views/dolphinview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/dolphinview.cpp b/src/views/dolphinview.cpp
index 69309fcad..a0dd0327b 100644
--- a/src/views/dolphinview.cpp
+++ b/src/views/dolphinview.cpp
@@ -1497,7 +1497,7 @@ void DolphinView::calculateItemCount(int& fileCount,
bool countFileSize = true;
// In case we have a precomputed value
- const auto job = KIO::stat(m_model->rootItem().url());
+ const auto job = KIO::statDetails(m_model->rootItem().url(), KIO::StatJob::SourceSide, KIO::StatRecursiveSize);
job->exec();
const auto entry = job->statResult();
if (entry.contains(KIO::UDSEntry::UDS_RECURSIVE_SIZE)) {