D9344: [KDevelop] : consistent use of the project name (WIP)

René J.V. Bertin noreply at phabricator.kde.org
Mon Apr 30 11:00:29 UTC 2018

rjvbb added a comment.

  >   I'm pretty sure this is due to `QUrl::RemoveFilename`, which removes the last directory if the URL refers to a directory.
  Looking into this now.
  Your assumption is wrong though. The RemoveFilename bit is necessary to avoid growing m_url because of using itself in repeated setPath() calls. Turns out that OpenProjectDialog::m_url is already set to the parent directory when first called by the generic project manager so the glitch must be in the projectcontroller.cpp hunk.

  R32 KDevelop


To: rjvbb, #kdevelop, mwolff
Cc: mschwarz, kfunk, mwolff, kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180430/3584b064/attachment.html>

More information about the KDevelop-devel mailing list