D1955: projectmanagerview: Add Cut command into the context menu

Milian Wolff noreply at phabricator.kde.org
Wed May 24 13:13:14 UTC 2017


mwolff added inline comments.

INLINE COMMENTS

> projectmanagerviewplugin.cpp:278
>          //needsRemove if items are limited to non-top-level folders or files that don't belong to targets
> -        needsRemoveAndRename &= (item->folder() && item->parent()) || (item->file() && !item->parent()->target());
> +        needsCutRenameRemove &= (item->folder() && item->parent()) || (item->file() && !item->parent()->target());
>  

this means we cannot paste into the project root, no? since the project root has no parent, but is a folder?

REPOSITORY
  R33 KDevPlatform

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

To: aspotashev, mwolff, kfunk
Cc: mwolff, kfunk, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170524/abe5f8eb/attachment.html>


More information about the KDevelop-devel mailing list