path: root/src/gui/kernel/qwindow.h
diff options
authorAllan Sandfeld Jensen <>2014-08-18 14:13:44 +0200
committerAllan Sandfeld Jensen <>2014-08-20 10:11:37 +0200
commit1bae226076b37ba925bf810639e1674130ad622a (patch)
treef9f6156d5a110e3fa20ed6c010993ff3215330e7 /src/gui/kernel/qwindow.h
parent97384030efd6465de42e786779cf80b309e763e3 (diff)
Make QWindowContainer handle drag'n'drop
Drag'n'drop events were not propagated by a the QWindowContainer to the embedded QWindow. This patch makes the widget accept the events and pass them on Task-number: QTBUG-40603 Change-Id: I97320fbcad27f7c6aa48c95c90bb42dda634764e Reviewed-by: Gunnar Sletta <>
Diffstat (limited to 'src/gui/kernel/qwindow.h')
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h
index 0d13cfa648..40bfad908f 100644
--- a/src/gui/kernel/qwindow.h
+++ b/src/gui/kernel/qwindow.h
@@ -85,6 +85,7 @@ class QPlatformWindow;
class QBackingStore;
class QScreen;
class QAccessibleInterface;
+class QWindowContainer;
class Q_GUI_EXPORT QWindow : public QObject, public QSurface
@@ -359,6 +360,7 @@ private:
friend class QGuiApplication;
friend class QGuiApplicationPrivate;
+ friend class QWindowContainer;
friend Q_GUI_EXPORT QWindowPrivate *qt_window_private(QWindow *window);