D28017: Update dragCursor while dragging

David Edmundson noreply at phabricator.kde.org
Sun Mar 15 18:08:01 GMT 2020


davidedmundson added inline comments.

INLINE COMMENTS

> kitemlistcontroller.cpp:946
> +    if (DragAndDropHelper::urlListMatchesUrl(event->mimeData()->urls(), hoveredDir)) {
> +        event->setDropAction(Qt::IgnoreAction);
> +        event->ignore();

We have 2 concepts:

what action the event is accepted as
which widget (if you have N stacked on top of each other) accepts the event

If this widget ignores the event it shouldn't be changing the drop action

REPOSITORY
  R318 Dolphin

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

To: trmdi, #dolphin, meven, ngraham, davidedmundson
Cc: elvisangelaccio, kfm-devel, pberestov, iasensio, fprice, MrPepe, fbampaloukas, alexde, Codezela, feverfew, meven, spoorun, navarromorales, firef, ngraham, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20200315/5166caf9/attachment.htm>


More information about the kfm-devel mailing list