summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDonald Carr <donald.carr@nokia.com>2010-08-16 23:38:18 (GMT)
committerDonald Carr <donald.carr@nokia.com>2010-08-17 15:13:25 (GMT)
commitb2056bcd48aa2288f1879de4d0f53cff443e4b16 (patch)
treeeff930fc88a2b61ecde586ffb8a1040a4fab8746 /src
parent5eaf1f41b17eb6f73420f1a9a5e48957015d2e4e (diff)
downloadQt-b2056bcd48aa2288f1879de4d0f53cff443e4b16.zip
Qt-b2056bcd48aa2288f1879de4d0f53cff443e4b16.tar.gz
Qt-b2056bcd48aa2288f1879de4d0f53cff443e4b16.tar.bz2
Adjusted define styling
Adjusted multi-line define to single conjugated define in order to conform to the rest of the modified file.
Diffstat (limited to 'src')
-rw-r--r--src/gui/painting/qbackingstore.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/painting/qbackingstore.cpp b/src/gui/painting/qbackingstore.cpp
index 446c867..ac9b994 100644
--- a/src/gui/painting/qbackingstore.cpp
+++ b/src/gui/painting/qbackingstore.cpp
@@ -352,11 +352,9 @@ void QWidgetBackingStore::beginPaint(QRegion &toClean, QWidget *widget, QWindowS
// Always flush repainted areas.
dirtyOnScreen += toClean;
-#ifdef Q_WS_QWS
-#ifndef Q_BACKINGSTORE_SUBSURFACES
+#if defined(Q_WS_QWS) && !defined(Q_BACKINGSTORE_SUBSURFACES)
toClean.translate(tlwOffset);
#endif
-#endif
#ifdef QT_NO_PAINT_DEBUG
windowSurface->beginPaint(toClean);