[DolphinContextMenu] Use the view's already existing root KFileItem

Authored by broulik on Sep 5 2018, 10:25 AM.

Description

[DolphinContextMenu] Use the view's already existing root KFileItem

Saves creating a new KFileItem from scratch which stats the file.
Only when the root item isn't available (as can happen when you're currently looking at an non-existing directory)
will it create a new KFileItem

Differential Revision: https://phabricator.kde.org/D15266

Details

Committed
broulikSep 5 2018, 10:25 AM
Differential Revision
D15266: [DolphinContextMenu] Use the view's already existing root KFileItem
Parents
R318:289ef9fa49c9: Merge branch 'Applications/18.08'
Branches
Unknown
Tags
Unknown