diff options
author | axis <qt-info@nokia.com> | 2009-11-26 14:56:42 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-11-26 14:56:42 (GMT) |
commit | 236d8ad3aedd09e905df97412380545d0986be2c (patch) | |
tree | 79b9e59bb232f2d5bd2b3ea6c1d93d095b8aa32b /src/gui/painting | |
parent | d014d49c88d4fa31c46afb2c252e481177b30a55 (diff) | |
parent | 4160adc44a512a97d333227cfdde0648fb4132a9 (diff) | |
download | Qt-236d8ad3aedd09e905df97412380545d0986be2c.zip Qt-236d8ad3aedd09e905df97412380545d0986be2c.tar.gz Qt-236d8ad3aedd09e905df97412380545d0986be2c.tar.bz2 |
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into 4.6-staging2
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qbackingstore.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qbackingstore.cpp b/src/gui/painting/qbackingstore.cpp index 8226797..1b8f413 100644 --- a/src/gui/painting/qbackingstore.cpp +++ b/src/gui/painting/qbackingstore.cpp @@ -949,6 +949,8 @@ void QWidgetPrivate::scrollRect(const QRect &rect, int dx, int dy) return; QWidgetBackingStore *wbs = x->backingStore; + if (!wbs) + return; static int accelEnv = -1; if (accelEnv == -1) { |