summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget_s60.cpp
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-09-17 07:45:52 (GMT)
committerShane Kearns <shane.kearns@sosco.com>2009-09-17 12:32:48 (GMT)
commit00d172411920920fa3cb120506a898889e724148 (patch)
treec190002f5907d9a6ecab6ce7596431d722ac1226 /src/gui/kernel/qwidget_s60.cpp
parent992f1b36dc7c246bb978c9c60b11369e3d1cce9d (diff)
downloadQt-00d172411920920fa3cb120506a898889e724148.zip
Qt-00d172411920920fa3cb120506a898889e724148.tar.gz
Qt-00d172411920920fa3cb120506a898889e724148.tar.bz2
Enable compiling Symbian port with QT_NO_CURSOR
Added some missing #ifdef QT_NO_CURSOR, so the symbian port still compiles if this feature is configured out. Reviewed-by: Jason Barron
Diffstat (limited to 'src/gui/kernel/qwidget_s60.cpp')
-rw-r--r--src/gui/kernel/qwidget_s60.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget_s60.cpp b/src/gui/kernel/qwidget_s60.cpp
index 522ce33..3744377 100644
--- a/src/gui/kernel/qwidget_s60.cpp
+++ b/src/gui/kernel/qwidget_s60.cpp
@@ -1222,8 +1222,9 @@ void QWidget::releaseMouse()
WId id = effectiveWinId();
id->SetPointerCapture(false);
QWidgetPrivate::mouseGrabber = 0;
-
+#ifndef QT_NO_CURSOR
QApplication::restoreOverrideCursor();
+#endif
}
}