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

Méven Car noreply at phabricator.kde.org
Tue Feb 18 08:13:53 GMT 2020


meven accepted this revision as: meven.
meven added inline comments.
This revision is now accepted and ready to land.

INLINE COMMENTS

> versioncontrolobserver.cpp:326
>      // like .svn, .git, ...
> -    foreach (KVersionControlPlugin* plugin, m_plugins) {
> -        const QString fileName = directory.path() + '/' + plugin->fileName();
> +    for (auto &it : m_plugins) {
> +        const QString fileName = directory.path() + '/' + it.second;

qAsConst(m_plugins)

REPOSITORY
  R318 Dolphin

REVISION DETAIL
  https://phabricator.kde.org/D26962

To: nikolaik, #dolphin, meven, elvisangelaccio
Cc: kfm-devel, pberestov, iasensio, fprice, MrPepe, fbampaloukas, alexde, Codezela, feverfew, meven, spoorun, navarromorales, firef, ngraham, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20200218/a2bab396/attachment.htm>


More information about the kfm-devel mailing list