From b2056bcd48aa2288f1879de4d0f53cff443e4b16 Mon Sep 17 00:00:00 2001
From: Donald Carr <donald.carr@nokia.com>
Date: Mon, 16 Aug 2010 23:38:18 +0000
Subject: Adjusted define styling

Adjusted multi-line define to single conjugated define in order to conform
to the rest of the modified file.
---
 src/gui/painting/qbackingstore.cpp | 4 +---
 1 file changed, 1 insertion(+), 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);
-- 
cgit v0.12