D20910: [FileMetaDataProvider] Show item count also for empty directories

Stefan BrĂ¼ns noreply at phabricator.kde.org
Mon Apr 29 23:40:31 BST 2019


bruns created this revision.
bruns added reviewers: Baloo, Dolphin, nicolasfella, astippich, ngraham, elvisangelaccio.
Herald added a project: Baloo.
bruns requested review of this revision.

REVISION SUMMARY
  In case only one dir is selected, its item count is show, both for empty
  and non-empty directories. When multiple directories are selected, the
  summed count was only shown when at least one was non-empty.

TEST PLAN
  1. Select one empty directory - "Size: 0 items"
  2. Select multiple non-empty directories - "Total Size: xxx items"
  
  3a. Old: Select multiple empty directories - "Total Size" not shown
  3b. New: Select multiple empty directories - "Total Size: 0 items"

REPOSITORY
  R824 Baloo Widgets

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D20910

AFFECTED FILES
  src/filemetadataprovider.cpp

To: bruns, #baloo, #dolphin, nicolasfella, astippich, ngraham, elvisangelaccio
Cc: gennad, domson, ashaposhnikov, astippich, spoorun, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190429/b66cb0d4/attachment.htm>


More information about the kfm-devel mailing list