From a77e4ea20785fe412bad94ec95e0ab8723f60407 Mon Sep 17 00:00:00 2001 From: Gatis Paeglis Date: Fri, 10 May 2013 23:16:20 +0200 Subject: Restore cursor before sending QDropEvent When users created a modal window in a dropEvent(QDropEvent* event), the cursor was not restored to its original shape until after the modal window had been dismissed. Change-Id: Id4723e3cb66b36a3ca18ff097a3993563816d9e1 Reviewed-by: Lars Knoll --- src/plugins/platforms/xcb/qxcbdrag.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/plugins') diff --git a/src/plugins/platforms/xcb/qxcbdrag.cpp b/src/plugins/platforms/xcb/qxcbdrag.cpp index 91acb5de02..8ce4ef5f04 100644 --- a/src/plugins/platforms/xcb/qxcbdrag.cpp +++ b/src/plugins/platforms/xcb/qxcbdrag.cpp @@ -523,7 +523,6 @@ void QXcbDrag::drop(const QMouseEvent *event) current_proxy_target = 0; source_time = 0; // current_embedding_widget = 0; - // #fixme resetDndState(false); } Qt::DropAction QXcbDrag::toDropAction(xcb_atom_t a) const -- cgit v1.2.3