> On Nov. 14, 2015, 11:44 nachm., Aleix Pol Gonzalez wrote: > > How come we never needed this? (nor Qt did)
Probably because we never had a Drag and Drop Area in the same location with visible side-effects if an item is dropped onto itself. Also if you're not lazy like me you could add a property bool yourself that is updated in onDragStarted and onDrop. - Kai Uwe ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/126064/#review88368 ----------------------------------------------------------- On Nov. 14, 2015, 3:59 nachm., Kai Uwe Broulik wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/126064/ > ----------------------------------------------------------- > > (Updated Nov. 14, 2015, 3:59 nachm.) > > > Review request for Plasma. > > > Repository: kdeclarative > > > Description > ------- > > It allows to query whether a drag is currently ongoing. This eases avoiding > dropping something onto itself when it has both DragArea and DropArea > > > Diffs > ----- > > src/qmlcontrols/draganddrop/DeclarativeDragArea.h 6cb682d > src/qmlcontrols/draganddrop/DeclarativeDragArea.cpp 3afaa62 > > Diff: https://git.reviewboard.kde.org/r/126064/diff/ > > > Testing > ------- > > Works > > > Thanks, > > Kai Uwe Broulik > >
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel