summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-04-08 07:58:08 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-04-08 07:58:08 (GMT)
commitd6cf18d036df1ecead4c8471944880c7f9a414f6 (patch)
tree62bfa1bd88a5ad164abd611404c1e75aae1e2752 /src/gui/kernel/qwidget.cpp
parentc13076a30e5ae3d0f6795261ad00ca1eb73ad0b9 (diff)
downloadQt-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.cpp6
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
}
}