BUG: 415698
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.
meven | |
elvisangelaccio | |
ngraham |
Dolphin |
BUG: 415698
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.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
src/views/versioncontrol/versioncontrolobserver.cpp | ||
---|---|---|
326 | qAsConst(m_plugins) |
src/views/versioncontrol/versioncontrolobserver.cpp | ||
---|---|---|
326 | You can const auto &it also |