KDE/kdevplatform/vcs/dvcs

David Nolden david.nolden.kdevelop at art-master.de
Wed Jul 8 16:59:59 UTC 2009


Am Mittwoch 08 Juli 2009 17:43:40 schrieb Alexander Dymo:
> SVN commit 993377 by dymo:
>
> Unbreak git commit (and maybe other operations) - there was a bug
> when kdevelop didn't add "/" between modified file path and name
>
>
>  M  +1 -1      dvcsplugin.cpp
>
>
> --- trunk/KDE/kdevplatform/vcs/dvcs/dvcsplugin.cpp #993376:993377
> @@ -400,7 +400,7 @@
>  {
>      QFileInfo repoInfo = QFileInfo(path);
>      if (repoInfo.isFile())
> -        return repoInfo.path();
> +        return repoInfo.path() + QDir::separator();
>      else if (path.endsWith(QDir::separator()))
>          return path;
>      else
Seeing this I remember, isn't it wrong using QDir::separator, as Qt internally 
always uses '/'?

Greetings, David





More information about the KDevelop-devel mailing list