summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesturemanager.cpp
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-11-09 10:46:57 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-11-09 10:46:57 (GMT)
commit683cca297d29e7ea9f84c087a3c081dcccea48fb (patch)
tree88ca39218e1fedf94751b927d7e04944a4c66e16 /src/gui/kernel/qgesturemanager.cpp
parent338fe3c15e90d62606806b0845bb621dd05153ae (diff)
parentfa7f6e542b8381dd3af525507cd6e0a3ee43b813 (diff)
downloadQt-683cca297d29e7ea9f84c087a3c081dcccea48fb.zip
Qt-683cca297d29e7ea9f84c087a3c081dcccea48fb.tar.gz
Qt-683cca297d29e7ea9f84c087a3c081dcccea48fb.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6
Conflicts: src/gui/kernel/qwidget_win.cpp
Diffstat (limited to 'src/gui/kernel/qgesturemanager.cpp')
-rw-r--r--src/gui/kernel/qgesturemanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qgesturemanager.cpp b/src/gui/kernel/qgesturemanager.cpp
index 2a6e286..3d4bb8c 100644
--- a/src/gui/kernel/qgesturemanager.cpp
+++ b/src/gui/kernel/qgesturemanager.cpp
@@ -181,8 +181,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 =