diff options
author | Donald Carr <donald.carr@nokia.com> | 2010-08-16 23:38:18 (GMT) |
---|---|---|
committer | Donald Carr <donald.carr@nokia.com> | 2010-08-17 15:13:25 (GMT) |
commit | b2056bcd48aa2288f1879de4d0f53cff443e4b16 (patch) | |
tree | eff930fc88a2b61ecde586ffb8a1040a4fab8746 /src/gui/painting/qbackingstore.cpp | |
parent | 5eaf1f41b17eb6f73420f1a9a5e48957015d2e4e (diff) | |
download | Qt-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/gui/painting/qbackingstore.cpp')
-rw-r--r-- | src/gui/painting/qbackingstore.cpp | 4 |
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); |