D14880: Read USD entry times directly and pretty-print on-demand
Kai Uwe Broulik
noreply at phabricator.kde.org
Thu Aug 16 15:22:17 BST 2018
broulik created this revision.
broulik added reviewers: Dolphin, dfaure, elvisangelaccio.
Herald added a project: Dolphin.
Herald added a subscriber: kfm-devel.
broulik requested review of this revision.
REVISION SUMMARY
This avoids creating a QDateTime object with all the timezone processing that comes with it since we're only interested in the actual pretty date once we show the role to the user.
TEST PLAN
- Similar to D14394 <https://phabricator.kde.org/D14394>
- Noticed that creation time wasn't pretty-printed, addressed by D14878 <https://phabricator.kde.org/D14878>
- Saves 8ms opening a folder with 500+ files
- Dates still show correctly
REPOSITORY
R318 Dolphin
REVISION DETAIL
https://phabricator.kde.org/D14880
AFFECTED FILES
src/kitemviews/kfileitemlistwidget.cpp
src/kitemviews/kfileitemmodel.cpp
To: broulik, #dolphin, dfaure, elvisangelaccio
Cc: kfm-devel, spoorun, navarromorales, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180816/fbefd154/attachment.htm>
More information about the kfm-devel
mailing list