summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-08-11 16:14:38 (GMT)
committerShane Kearns <shane.kearns@sosco.com>2009-08-11 16:14:38 (GMT)
commitebb0b4046cab4ea94795e8fb2ceb3242393e1040 (patch)
treeb85574a72d95e6dd9c9258faecb87700bc2bbe9b /src/gui
parent262d0348f7a38a22809662e296545d07d686afde (diff)
parent5c5310803f34c8fcf3aee6b7bb5c2bc6caf3107c (diff)
downloadQt-ebb0b4046cab4ea94795e8fb2ceb3242393e1040.zip
Qt-ebb0b4046cab4ea94795e8fb2ceb3242393e1040.tar.gz
Qt-ebb0b4046cab4ea94795e8fb2ceb3242393e1040.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt-s60-public
Diffstat (limited to 'src/gui')
-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 40c9bf2..0b34c56 100644
--- a/src/gui/painting/qbackingstore.cpp
+++ b/src/gui/painting/qbackingstore.cpp
@@ -847,7 +847,7 @@ QWidgetBackingStore::~QWidgetBackingStore()
void QWidgetPrivate::moveRect(const QRect &rect, int dx, int dy)
{
Q_Q(QWidget);
- if (!q->isVisible())
+ if (!q->isVisible() || (dx == 0 && dy == 0))
return;
QWidget *tlw = q->window();