[Qt-interest] Setting a different drop action on a QDropEvent is ignored in a QAbstractItemView (Bug?)

Stephen Kelly steveire at gmail.com
Fri Dec 19 14:22:46 CET 2008


Denis Dzyubenko wrote:

> 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
> 

Do you have a bug number I can follow up on?

Steve.



More information about the Qt-interest-old mailing list