On Thursday 25 March 2010 22:18:10 Robert Hogan wrote:
>
> So drag->exec(), and the event loop it creates is the culprit somehow.
> The eventfilter() in dndx11.cpp has:
>
> } else if (e->type() == QEvent::MouseButtonRelease) {
> DEBUG("pre drop");
> qApp->removeEventFilter(this);
> if (willDrop)
> drop();
> else
> cancel();
> DEBUG("drop, resetting object");
> beingCancelled = false;
> eventLoop->exit();
> return true;
> }
>
I think I get it now - the mouseRelease() needs to be sent to the QDrag
object, or possibly even QDragManager (god forbid), not QWebView.
Ouch.
_______________________________________________
webkit-qt mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt