From 121cc4d955fe4aa3b0f9de0d61bf1ff9f6e944ab Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sat, 21 May 2011 18:02:52 +0200 Subject: re-add in-process DnD implementation Get in-process DnD working again. QDragManager only cares about QWindow's now, and QWidgetWindow maps this to DnD events inside the widget hierachy. --- src/gui/kernel/qdnd.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/kernel/qdnd.cpp') diff --git a/src/gui/kernel/qdnd.cpp b/src/gui/kernel/qdnd.cpp index 55fc3b09fc..614c5a2a04 100644 --- a/src/gui/kernel/qdnd.cpp +++ b/src/gui/kernel/qdnd.cpp @@ -146,6 +146,8 @@ QDragManager::QDragManager() #ifdef Q_WS_X11 xdndMimeTransferedPixmapIndex = 0; #endif + + currentWindow = 0; } -- cgit v1.2.3