[Qt-interest] Setting a different drop action on a QDropEvent is ignored in a QAbstractItemView (Bug?)
Denis Dzyubenko
denis.dzyubenko at trolltech.com
Fri Dec 19 10:40:39 CET 2008
Stephen Kelly wrote:
> The problem is that QAbstractItemView::dropOn uses:
>
> if (model->supportedDropActions() & event->proposedAction()) {
>
> to determine how to deal with the drop. I think it should use:
>
> if (model->supportedDropActions() & event->dropAction()) {
>
> to allow changing the event action. Is this a Qt bug, or am I missing
> something?
Yes, this was a bug in Qt and it has already been fixed in Qt-4.5
--
Denis Dzyubenko
Software Engineer
Nokia, Qt Software
More information about the Qt-interest-old
mailing list