summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentmedian.h
diff options
context:
space:
mode:
authorSergio Martins <sergio.martins.qnx@kdab.com>2013-01-07 12:27:44 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-07 21:57:33 +0100
commit742f0c6e0b8e3ec6fddc146205e78a93f600c1cf (patch)
treeeea2dc6e5d6a1818da5de634bb8cc0e201c34d0e /src/concurrent/qtconcurrentmedian.h
parent25ae39046197a30c773bc300646dea05d4a124ca (diff)
Fix DnD when using QSimpleDrag.
qApp->topLevelAt() returns the QShapedPixmapWindow that the DnD operation created, but what we want is the QWidgetWindow. QWidgetWindow has the code to handle QDragMove events. In Qt4, QShapedPixmapWidget had a parent, so was never returned by qApp->topLevelWidgets(). In Qt5 we must filter it out. Bug is visible in the QNX plugin, which is the only user of QSimpleDrag. Change-Id: I920da86f3a1a92ce8e087f5948292fa4c68d4d81 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/concurrent/qtconcurrentmedian.h')
0 files changed, 0 insertions, 0 deletions