[dolphin] [Bug 415698] VCS plugin function calls redundant

Nate Graham bugzilla_noreply at kde.org
Tue Feb 18 21:55:34 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=415698

Nate Graham <nate at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://commits.kde.org/dol |https://commits.kde.org/dol
                   |phin/305085b58143c431d9abb7 |phin/d0cbcf9718bb5192738ea9
                   |bd8dcb2f0954df725a          |f5a5a3d6c4f9f7dcef
   Version Fixed In|20.04.0                     |20.04

--- Comment #4 from Nate Graham <nate at kde.org> ---
Git commit d0cbcf9718bb5192738ea9f5a5a3d6c4f9f7dcef by Nate Graham, on behalf
of Nikolai Krasheninnikov.
Committed on 18/02/2020 at 21:55.
Pushed by ngraham into branch 'master'.

Fixes multiple KVersionControlPlugin::fileName() calls on entering or updating
directory.

Summary:
FIXED-IN: 20.04

On each VCS plugin creation corresponding file name is saved (cached) so when
we search which VCS plugin is appropriate for current directory we don't need
to call KVersionControlPlugin::fileName() again.

Reviewers: #dolphin, meven, elvisangelaccio, ngraham

Reviewed By: #dolphin, meven, ngraham

Subscribers: kfm-devel

Tags: #dolphin

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

M  +6    -6    src/views/versioncontrol/versioncontrolobserver.cpp
M  +2    -1    src/views/versioncontrol/versioncontrolobserver.h

https://commits.kde.org/dolphin/d0cbcf9718bb5192738ea9f5a5a3d6c4f9f7dcef

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the kfm-devel mailing list