Changeset 464 for trunk/src/gui/kernel
- Timestamp:
- Jan 22, 2010, 12:20:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qdnd_pm.cpp
r463 r464 561 561 ((dragData->supportedOps & DO_LINKABLE) && realOp == DO_LINK); 562 562 dragData->lastDragOverOp = realOp; 563 dropReply = dragData->sourceAllowsOp ? DOR_DROP : DOR_NODROP; 563 564 } 564 565 … … 595 596 toQDragDropActions(dragData->supportedOps), 596 597 data, mouseButtons(), keyboardModifiers()); 597 // accept by default, since enter event was accepted.598 598 dme.setDropAction(dragData->lastAction); 599 // accept by default if the enter event was accepted 599 600 if (dropReply == DOR_DROP) 600 601 dme.accept();
Note:
See TracChangeset
for help on using the changeset viewer.