-
Thomas Hartmann authored
The release mouse event does not come through if we start a drag. There was already a workaround that stopped working with 5.8 and did rely on private API. I removed all usage of private API and added a simple workaround that synthesises a mouse release event. The actual execution of the drag is now asynchronous to ensure the release event is delivered properly. I removed all dependencies on private API in the designer. In Qt 5.9 the issue seems to be fixed in Qt. The workaround does not seem to get in the way of the fix. Eventually, the workaround can be removed. Change-Id: I9b45b255da5e44c26aba2acf4a42f88537126f75 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2df18ec3