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/qapplication_pm.cpp

    r785 r786  
    10841084                bool focus = SHORT1FROMMP(mp2);
    10851085                if (!focus) {
    1086                     if (!QWidget::find(hwnd) && !QDragManager::self()->object) {
     1086                    if (!QWidget::find(hwnd) && !QDragManager::self()->) {
    10871087                        // we gave up focus to another application, unset Qt
    1088                         // focus (exclude the situation when we start drag in
    1089                         // which case the PM focus goes to the drag bitmap while
    1090                         // the Qt focus should stay with our application)
     1088                        // focus (exclude the situation when we
     1089                        //
     1090                        // )
    10911091                        if (QApplication::activePopupWidget()) {
    10921092                            foreignFocusWnd = hwnd;
Note: See TracChangeset for help on using the changeset viewer.