D6511: Remove <project>/.kdev4/ directory when overriding a project. Closes T6262.

Milian Wolff noreply at phabricator.kde.org
Wed Jul 5 12:55:27 UTC 2017


mwolff added inline comments.

INLINE COMMENTS

> projectcontroller.cpp:490
>      if (writeProjectConfigToFile) {
> +        QUrl projectConfigDirUrl(projectFileUrl.adjusted(QUrl::RemoveFilename).url() + "/.kdev4");
> +        auto delJob = KIO::del(projectConfigDirUrl);

`Path(projectFileUrl).setLastPathSegment(QStringLiteral(".kdev4)).toUrl()`

Does this work too? I personally find that easier to understand.

REPOSITORY
  R33 KDevPlatform

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

To: arrowdodger, #kdevelop
Cc: mwolff, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170705/fbd31b35/attachment.html>


More information about the KDevelop-devel mailing list