diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2009-11-06 13:13:42 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2009-11-06 13:13:42 (GMT) |
commit | 6d7d54813f4cfc326fc52d3402653b924677124a (patch) | |
tree | c2f295c0b14a137f0fa7b8dc24f67970f2e25a3a /src | |
parent | 55b27267a6a21d15c3a505668aefed824d5cdf4e (diff) | |
download | Qt-6d7d54813f4cfc326fc52d3402653b924677124a.zip Qt-6d7d54813f4cfc326fc52d3402653b924677124a.tar.gz Qt-6d7d54813f4cfc326fc52d3402653b924677124a.tar.bz2 |
Fix QT_NO_GRAPHICSVIEW
Reviewed-by: paul
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qgesturemanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qgesturemanager.cpp b/src/gui/kernel/qgesturemanager.cpp index 628892d..a0b94b2 100644 --- a/src/gui/kernel/qgesturemanager.cpp +++ b/src/gui/kernel/qgesturemanager.cpp @@ -175,8 +175,10 @@ QGesture *QGestureManager::getState(QObject *object, QGestureRecognizer *recogni return 0; } else if (QGesture *g = qobject_cast<QGesture *>(object)) { return g; +#ifndef QT_NO_GRAPHICSVIEW } else { Q_ASSERT(qobject_cast<QGraphicsObject *>(object)); +#endif } QList<QGesture *> states = |