diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-08-03 07:27:19 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-08-03 08:20:03 (GMT) |
commit | bd3d0818c99ea2f8b7b3149b2e311b4b89e01d71 (patch) | |
tree | 39df914bc8306641537d2fe93fe250386ae3735d /src | |
parent | e110428463ac32a439bad720c4276660fd8e3023 (diff) | |
download | Qt-bd3d0818c99ea2f8b7b3149b2e311b4b89e01d71.zip Qt-bd3d0818c99ea2f8b7b3149b2e311b4b89e01d71.tar.gz Qt-bd3d0818c99ea2f8b7b3149b2e311b4b89e01d71.tar.bz2 |
Fixed compile error in qwindowsurface_qws.cpp.
Task-number: QTBUG-20713
Reviewed-by: Jørgen Lind
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/painting/qwindowsurface_qws.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qwindowsurface_qws.cpp b/src/gui/painting/qwindowsurface_qws.cpp index 3789a33..96e2652 100644 --- a/src/gui/painting/qwindowsurface_qws.cpp +++ b/src/gui/painting/qwindowsurface_qws.cpp @@ -1087,7 +1087,7 @@ void QWSSharedMemSurface::setDirectRegion(const QRegion &r, int id) const QRegion QWSSharedMemSurface::directRegion() const { - if (mem.address() && *(uint *)mem.address() == uint(directRegionId()) + if (mem.address() && *(uint *)mem.address() == uint(directRegionId())) return QWSMemorySurface::directRegion(); return QRegion(); } |