Changeset 463 for trunk/src/gui/kernel


Ignore:
Timestamp:
Jan 21, 2010, 9:52:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: DnD: Respect the change to the drop action applications may make in the QDropEvent handlers.

File:
1 edited

Legend:

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

    r462 r463  
    697697            QMimeData *data = manager->source() ? manager->dragPrivate()->data : manager->dropData;
    698698
    699             QDropEvent de(pnt, dragData->lastAction, data, mouseButtons(),
    700                           keyboardModifiers());
     699            QDropEvent de(pnt, ),
     700                          keyboardModifiers());
    701701            if (dragData->lastDropReply == DOR_DROP)
    702702                de.setDropAction(dragData->lastAction);
    703 
    704703            sendDropEvent(dragData->lastDragOverWidget, &de);
    705704
    706705            if (dragData->lastDropReply == DOR_DROP)
    707706                de.accept();
     707
     708
     709
     710
     711
     712
     713
     714
     715
    708716
    709717            dragData->lastDragOverWidget = 0;
Note: See TracChangeset for help on using the changeset viewer.