diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-04-08 07:58:08 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-04-08 07:58:08 (GMT) |
commit | d6cf18d036df1ecead4c8471944880c7f9a414f6 (patch) | |
tree | 62bfa1bd88a5ad164abd611404c1e75aae1e2752 /src/gui/kernel/qwidget.cpp | |
parent | c13076a30e5ae3d0f6795261ad00ca1eb73ad0b9 (diff) | |
download | Qt-d6cf18d036df1ecead4c8471944880c7f9a414f6.zip Qt-d6cf18d036df1ecead4c8471944880c7f9a414f6.tar.gz Qt-d6cf18d036df1ecead4c8471944880c7f9a414f6.tar.bz2 |
QPlatformWindow refactoring
and ported the directfb plugin to use QPlatformWindow
Diffstat (limited to 'src/gui/kernel/qwidget.cpp')
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index 4bcec93..7eaf03c 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -74,6 +74,9 @@ # include "qpaintengine.h" // for PorterDuff # include "private/qwindowsurface_qws_p.h" #endif +#if defined(Q_WS_LITE) +#include "qplatformwindow_lite.h" +#endif #include "qpainter.h" #include "qtooltip.h" #include "qwhatsthis.h" @@ -1574,6 +1577,9 @@ void QWidgetPrivate::createTLExtra() static int count = 0; qDebug() << "tlextra" << ++count; #endif +#if defined(Q_WS_LITE) + x->platformWindow = 0; +#endif } } |