summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-06-08 08:26:52 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-06-08 08:26:52 (GMT)
commit0af3c490d6a8763f54e8fc52ffc077d4940b526e (patch)
treeba8ad731f473f8a6ac22a04412630599b407edca /src/gui/graphicsview
parent66f1080dc931ea024014ab3153ef7b99039540d2 (diff)
downloadQt-0af3c490d6a8763f54e8fc52ffc077d4940b526e.zip
Qt-0af3c490d6a8763f54e8fc52ffc077d4940b526e.tar.gz
Qt-0af3c490d6a8763f54e8fc52ffc077d4940b526e.tar.bz2
Compile on Windows again
Diffstat (limited to 'src/gui/graphicsview')
-rw-r--r--src/gui/graphicsview/qgraphicsscene.cpp4
-rw-r--r--src/gui/graphicsview/qgraphicsview.cpp4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp
index 2f6c4e1..a92e38c 100644
--- a/src/gui/graphicsview/qgraphicsscene.cpp
+++ b/src/gui/graphicsview/qgraphicsscene.cpp
@@ -5693,7 +5693,9 @@ void QGraphicsScenePrivate::updateTouchPointsForItem(QGraphicsItem *item,
touchPoint.setPos(item->d_ptr->genericMapFromScene(touchPoint.scenePos(), touchEvent->widget()));
touchPoint.setStartPos(item->d_ptr->genericMapFromScene(touchPoint.startScenePos(), touchEvent->widget()));
touchPoint.setLastPos(item->d_ptr->genericMapFromScene(touchPoint.lastScenePos(), touchEvent->widget()));
-#warning FIXME
+#ifdef Q_CC_GNU
+# warning FIXME
+#endif
// ### touchPoint.setSize(item->d_ptr->genericMapFromScene(touchPoint.sceneSize(), touchEvent->widget()));
}
touchEvent->setTouchPoints(touchPoints);
diff --git a/src/gui/graphicsview/qgraphicsview.cpp b/src/gui/graphicsview/qgraphicsview.cpp
index da1837c..e874071 100644
--- a/src/gui/graphicsview/qgraphicsview.cpp
+++ b/src/gui/graphicsview/qgraphicsview.cpp
@@ -314,7 +314,9 @@ void QGraphicsViewPrivate::convertTouchEventToGraphicsSceneTouchEvent(QGraphicsV
touchPoint.setScenePos(d->mapToScene(touchPoint.pos()));
touchPoint.setStartScenePos(d->mapToScene(touchPoint.startPos()));
touchPoint.setLastScenePos(d->mapToScene(touchPoint.lastPos()));
-#warning FIXME
+#ifdef Q_CC_GNU
+# warning FIXME
+#endif
// ### touchPoint.setSceneSize(d->mapToScene(touchPoint.screenSize()));
// screenPos, startScreenPos, lastScreenPos, and screenSize are already set from the