diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-08-03 13:11:13 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-08-03 13:11:13 (GMT) |
commit | 87432a42fba53ad910e8e21feb94e638f4ae17eb (patch) | |
tree | 960b093030bf47a9b40a0a8ffa5bb50945b2ac83 | |
parent | bcbc297dfcf91a4113baa80378c4f4d67c2726d9 (diff) | |
download | Qt-87432a42fba53ad910e8e21feb94e638f4ae17eb.zip Qt-87432a42fba53ad910e8e21feb94e638f4ae17eb.tar.gz Qt-87432a42fba53ad910e8e21feb94e638f4ae17eb.tar.bz2 |
fixed broken integration of qwindowsurface_raster.cpp
-rw-r--r-- | src/gui/painting/qwindowsurface_raster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qwindowsurface_raster.cpp b/src/gui/painting/qwindowsurface_raster.cpp index 330a33f..eddbfd2 100644 --- a/src/gui/painting/qwindowsurface_raster.cpp +++ b/src/gui/painting/qwindowsurface_raster.cpp @@ -149,7 +149,7 @@ void QRasterWindowSurface::flush(QWidget *widget, const QRegion &rgn, const QPoi QRect br = rgn.boundingRect(); #ifndef Q_WS_WINCE - if (!qt_widget_private(window())->isOpaque && d->canUseLayeredWindow && window()->testAttribute(Qt::WA_TranslucentBackground)) { + if (!qt_widget_private(window())->isOpaque && window()->testAttribute(Qt::WA_TranslucentBackground)) { QRect r = window()->frameGeometry(); QPoint frameOffset = qt_widget_private(window())->frameStrut().topLeft(); QRect dirtyRect = br.translated(offset + frameOffset); |