]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kitemviews/kfileitemmodelrolesupdater.cpp
fix folder size calculation on FUSE and network file systems
[dolphin.git] / src / kitemviews / kfileitemmodelrolesupdater.cpp
index 3bd6d977dab74fd9d46daf0bb65a7de4cb2dce35..42788d2fe6553b83629820b4451b7a500850f216 100644 (file)
@@ -1083,7 +1083,7 @@ QHash<QByteArray, QVariant> KFileItemModelRolesUpdater::rolesData(const KFileIte
     const bool getIsExpandableRole = m_roles.contains("isExpandable");
 
     if ((getSizeRole || getIsExpandableRole) && item.isDir()) {
-        if (item.isLocalFile() && !item.isSlow()) {
+        if (item.isLocalFile()) {
             // Tell m_directoryContentsCounter that we want to count the items
             // inside the directory. The result will be received in slotDirectoryContentsCountReceived.
             if (m_scanDirectories) {