summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qbackingstore_p.h
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-03-25 13:36:27 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-03-25 13:36:27 (GMT)
commitbbd2a1b1d2e940a4051ffffc54a2d0d81f1e5e0c (patch)
tree92cad439bb6d5038f6ebb99b35e37639b9a33252 /src/gui/painting/qbackingstore_p.h
parent7cc93f1390d5436017ce690394388aa3e78e7986 (diff)
parenta4b3fb256c25ce7b6e8b9fd162ee11ae4338fa76 (diff)
downloadQt-bbd2a1b1d2e940a4051ffffc54a2d0d81f1e5e0c.zip
Qt-bbd2a1b1d2e940a4051ffffc54a2d0d81f1e5e0c.tar.gz
Qt-bbd2a1b1d2e940a4051ffffc54a2d0d81f1e5e0c.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/gui/painting/qbackingstore_p.h')
-rw-r--r--src/gui/painting/qbackingstore_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/painting/qbackingstore_p.h b/src/gui/painting/qbackingstore_p.h
index 47387ab..39bf66c 100644
--- a/src/gui/painting/qbackingstore_p.h
+++ b/src/gui/painting/qbackingstore_p.h
@@ -262,7 +262,8 @@ private:
}
inline bool hasStaticContents() const
- { return !staticWidgets.isEmpty() && windowSurface->hasStaticContentsSupport(); }
+ { return !staticWidgets.isEmpty() && windowSurface->hasStaticContentsSupport()
+ && windowSurface->hasPartialUpdateSupport(); }
friend QRegion qt_dirtyRegion(QWidget *);
friend class QWidgetPrivate;