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
Details
Details
- Reviewers
elvisangelaccio ngraham - Group Reviewers
Dolphin - Commits
- R318:8f10b5540c09: [DolphinContextMenu] Use the view's already existing root KFileItem
Context menu still works fine
Haven't actually encountered a case where m_baseUrl was different from the root url
Diff Detail
Diff Detail
- Repository
- R318 Dolphin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.