]> cloud.milkyroute.net Git - dolphin.git/commit
Fix size of directories if a subdir fails to open
authorFabian Vogt <fabian@ritter-vogt.de>
Mon, 2 Jan 2023 14:02:06 +0000 (15:02 +0100)
committerFabian Vogt <fabian@ritter-vogt.de>
Mon, 9 Jan 2023 15:21:33 +0000 (16:21 +0100)
commit50b991323351d886d67df179d5a0998c5a44abd5
tree08b65b293027d0ed712120d64fa470c2e275cdcd
parenta81b287e7af7db24ff26a659fe599e5a8b290bd1
Fix size of directories if a subdir fails to open

If opening the directory fails, it returns -1 as size. Don't add that to the
parent's total size.

(cherry picked from commit a6490755ca7d00c964a1349443ba9c06dbb33e50)
src/kitemviews/private/kdirectorycontentscounterworker.cpp