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/painting/qwindowsurface_pm.cpp

    r775 r786  
    6363#include "qwindowsurface_pm_p.h"
    6464#include "private/qnativeimage_p.h"
     65#include "private/qdnd_p.h"
    6566
    6667////////////////////////////////////////////////////////////////////////////////
     
    566567    br.translate(offset);
    567568
    568     if (d->inDrag) {
     569    if (d->inDrag || QDragManager::self()->isInOwnDrag()) {
    569570        // In drag, DIVE seems to not synchronize well with the mouse buffer
    570571        // that preserves the contents under the mouse pointer and the drag
Note: See TracChangeset for help on using the changeset viewer.