summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-06-03 07:03:31 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-06-03 07:03:31 (GMT)
commitc5b79062e134cb5dfbfb8b3a168798eb648f5509 (patch)
tree5a494db3fbbdfca8a950850a79c6b64f1279aea7 /src/gui/painting
parente8252b7c5df26529f35685b4df08cb21e1090cc3 (diff)
downloadQt-c5b79062e134cb5dfbfb8b3a168798eb648f5509.zip
Qt-c5b79062e134cb5dfbfb8b3a168798eb648f5509.tar.gz
Qt-c5b79062e134cb5dfbfb8b3a168798eb648f5509.tar.bz2
Fix QWS build failure
Task-number: QTBUG-8697
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qbackingstore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qbackingstore.cpp b/src/gui/painting/qbackingstore.cpp
index 3ddffef..14f715f 100644
--- a/src/gui/painting/qbackingstore.cpp
+++ b/src/gui/painting/qbackingstore.cpp
@@ -884,7 +884,7 @@ void QWidgetPrivate::moveRect(const QRect &rect, int dx, int dy)
QWidgetPrivate *pd = pw->d_func();
QRect clipR(pd->clipRect());
#ifdef Q_WS_QWS
- QWidgetBackingStore *wbs = x->backingStore;
+ QWidgetBackingStore *wbs = x->backingStore.data();
QWSWindowSurface *surface = static_cast<QWSWindowSurface*>(wbs->windowSurface);
clipR = clipR.intersected(surface->clipRegion().translated(-toplevelOffset).boundingRect());
#endif