Ignore:
Timestamp:
Oct 7, 2010, 3:04:40 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: DnD: Fixed: Repainting the widget during DnD outside the drag*Event() callbacks would cause distortion under the mouse pointer in DIVE mode.

File:
1 edited

Legend:

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

    r769 r786  
    1105711057        return (HPS) d->hd;
    1105811058#ifndef QT_NO_DRAGANDDROP
    11059     if (QDragManager::self()->isInDrag())
     11059    if (QDragManager::self()->isInDrag() ||
     11060        QDragManager::self()->isInOwnDrag())
    1106011061        return DrgGetPS(winId());
    1106111062#endif
     
    1107611077    if (d->hd == NULLHANDLE) {
    1107711078#ifndef QT_NO_DRAGANDDROP
    11078         if (QDragManager::self()->isInDrag())
     11079        if (QDragManager::self()->isInDrag() ||
     11080            QDragManager::self()->isInOwnDrag())
    1107911081            DrgReleasePS(hps);
    1108011082        else
Note: See TracChangeset for help on using the changeset viewer.