Changeset 464


Ignore:
Timestamp:
Jan 22, 2010, 12:20:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: DnD: Revalidate the default acceptance of the next drag move event after the operation is changed by a modifier key.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qdnd_pm.cpp

    r463 r464  
    561561                        ((dragData->supportedOps & DO_LINKABLE) && realOp == DO_LINK);
    562562                    dragData->lastDragOverOp = realOp;
     563
    563564                }
    564565
     
    595596                                       toQDragDropActions(dragData->supportedOps),
    596597                                       data, mouseButtons(), keyboardModifiers());
    597                     // accept by default, since enter event was accepted.
    598598                    dme.setDropAction(dragData->lastAction);
     599
    599600                    if (dropReply == DOR_DROP)
    600601                        dme.accept();
Note: See TracChangeset for help on using the changeset viewer.