Kai Uwe Broulik
2018-09-03 10:17:00 UTC
broulik created this revision.
broulik added reviewers: Dolphin, elvisangelaccio, lbeltrame.
Herald added a project: Dolphin.
Herald added a subscriber: kfm-devel.
broulik requested review of this revision.
REVISION SUMMARY
There's no point in creating a `QFileInfo` instance and checking for file properties if we're not going to do anything with it when not inside home
TEST PLAN
- Accessing a slow or stale mount in `/run/user/foo/bar` no longer blocks here and is a nice simple optimization anyway imho
REPOSITORY
R318 Dolphin
REVISION DETAIL
https://phabricator.kde.org/D15237
AFFECTED FILES
src/views/viewproperties.cpp
To: broulik, #dolphin, elvisangelaccio, lbeltrame
Cc: kfm-devel, spoorun, navarromorales, firef, andrebarros, emmanuelp
broulik added reviewers: Dolphin, elvisangelaccio, lbeltrame.
Herald added a project: Dolphin.
Herald added a subscriber: kfm-devel.
broulik requested review of this revision.
REVISION SUMMARY
There's no point in creating a `QFileInfo` instance and checking for file properties if we're not going to do anything with it when not inside home
TEST PLAN
- Accessing a slow or stale mount in `/run/user/foo/bar` no longer blocks here and is a nice simple optimization anyway imho
REPOSITORY
R318 Dolphin
REVISION DETAIL
https://phabricator.kde.org/D15237
AFFECTED FILES
src/views/viewproperties.cpp
To: broulik, #dolphin, elvisangelaccio, lbeltrame
Cc: kfm-devel, spoorun, navarromorales, firef, andrebarros, emmanuelp