summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmap_s60.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image/qpixmap_s60.cpp')
-rw-r--r--src/gui/image/qpixmap_s60.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/image/qpixmap_s60.cpp b/src/gui/image/qpixmap_s60.cpp
index 6246592..625988a 100644
--- a/src/gui/image/qpixmap_s60.cpp
+++ b/src/gui/image/qpixmap_s60.cpp
@@ -27,7 +27,7 @@ QPixmap QPixmap::grabWindow(WId winId, int x, int y, int w, int h )
// Find out if this is one of our windows.
QSymbianControl *sControl;
sControl = winId->MopGetObject(sControl);
- if (sControl && sControl->widget()->windowType() & Qt::Desktop) {
+ if (sControl && sControl->widget()->windowType() == Qt::Desktop) {
// Grabbing desktop widget
srcSize = screenSize;
} else {