[Differential] [Request, 39 lines] D2397: AddJob: Count number of entries to be added
rthomsen (Ragnar Thomsen)
noreply at phabricator.kde.org
Wed Aug 10 18:03:26 UTC 2016
rthomsen created this revision.
rthomsen added a reviewer: elvisangelaccio.
rthomsen set the repository for this revision to rARK Ark.
rthomsen added a project: Ark.
Restricted Application added a subscriber: kde-utils-devel.
REVISION SUMMARY
Count the total number of entries to be added using QDirIterator. We can then use the number to display a correct string in statusbar when adding files. Also pass the number to AddFiles() so interfaces/plugins can use it for showing progress in %.
TEST PLAN
Add a directory with many subfolders/files. The correct number of entries being added should now be displayed in statusbar.
REPOSITORY
rARK Ark
REVISION DETAIL
https://phabricator.kde.org/D2397
AFFECTED FILES
kerfuffle/jobs.cpp
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: rthomsen, elvisangelaccio
Cc: kde-utils-devel, tctara
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20160810/f3cd419d/attachment.html>
More information about the Kde-utils-devel
mailing list