D13654: Open konsole tool with the single project's root directory

Sven Brauch noreply at phabricator.kde.org
Sat Jun 23 11:29:38 UTC 2018


brauch added inline comments.

INLINE COMMENTS

> kdevkonsoleview.cpp:71
> +            auto projects = KDevelop::ICore::self()->activeSession()->containedProjects();
> +            if (projects.size() == 1)
> +                dir = projects.first().adjusted(QUrl::RemoveFilename).path(QUrl::FullyDecoded);

Hm, does this make sense?  I very rarely have sessions with just one project open. Maybe instead use the current document's path or, if you think that is better, the root path of the project in which the current document is?

REPOSITORY
  R32 KDevelop

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

To: amhndu, #kdevelop, brauch
Cc: croick, kdevelop-devel, antismap, iodelay, vbspam, njensen, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180623/3c8b1695/attachment.html>


More information about the KDevelop-devel mailing list