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

Authored by arrowd on Jul 5 2017, 12:15 PM.

Diff Detail

Repository
R33 KDevPlatform
Branch
purge-kdev-dir (branched from 5.1)
Lint
No Linters Available
Unit
No Unit Test Coverage
arrowd created this revision.Jul 5 2017, 12:15 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJul 5 2017, 12:15 PM
mwolff added a subscriber: mwolff.Jul 5 2017, 12:55 PM
mwolff added inline comments.
shell/projectcontroller.cpp
490 ↗(On Diff #16199)

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

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

arrowd updated this revision to Diff 16203.Jul 5 2017, 1:26 PM

Use Path instead of fiddling with QUrl.

arrowd marked an inline comment as done.Jul 5 2017, 1:28 PM
mwolff accepted this revision.Jul 5 2017, 1:57 PM
This revision is now accepted and ready to land.Jul 5 2017, 1:57 PM
kfunk accepted this revision.Jul 5 2017, 1:58 PM
kfunk added a subscriber: kfunk.
kfunk added inline comments.
shell/projectcontroller.cpp
490

... or simply Path projectConfigDir(projectFileUrl);

This revision was automatically updated to reflect the committed changes.