summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2009-10-28 14:50:04 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2009-10-29 16:00:14 (GMT)
commit9c681ddc3a70b220de5d38de498ab1804ec12d4a (patch)
tree703450a3b4e7eb02a64f668be81ae2434d575fe1 /src/gui/kernel/qevent.cpp
parent23b6599324bc62666d4303ca108ed372e8d7c490 (diff)
downloadQt-9c681ddc3a70b220de5d38de498ab1804ec12d4a.zip
Qt-9c681ddc3a70b220de5d38de498ab1804ec12d4a.tar.gz
Qt-9c681ddc3a70b220de5d38de498ab1804ec12d4a.tar.bz2
Fix GRAPHICSVIEW
Reviewed-by: tom
Diffstat (limited to 'src/gui/kernel/qevent.cpp')
-rw-r--r--src/gui/kernel/qevent.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index 065bd09..bf9479f 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -4345,6 +4345,7 @@ QWidget *QGestureEvent::widget() const
return d_func()->widget;
}
+#ifndef QT_NO_GRAPHICSVIEW
/*!
Returns the scene-local coordinates if the \a gesturePoint is inside a graphics view.
@@ -4361,6 +4362,7 @@ QPointF QGestureEvent::mapToScene(const QPointF &gesturePoint) const
}
return QPointF();
}
+#endif //QT_NO_GRAPHICSVIEW
/*!
\internal