summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-10-15 17:50:57 +0200
committerAlexis Menard <alexis.menard@nokia.com>2009-10-15 17:59:56 +0200
commit563b9362dbdedadb773ae45d6fa672f2c75463d9 (patch)
tree28c26d8f63eeef1a7e04b65a7e9b118e2a0836be /demos
parent739a36b3e86d6c112bc1720ec92a61433c48ee80 (diff)
Sub-attaq : Don't let user move the boat with the mouse.
Reviewed-by:TrustMe
Diffstat (limited to 'demos')
-rw-r--r--demos/sub-attaq/boat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/sub-attaq/boat.cpp b/demos/sub-attaq/boat.cpp
index 3b1bac7620..cb40329788 100644
--- a/demos/sub-attaq/boat.cpp
+++ b/demos/sub-attaq/boat.cpp
@@ -87,7 +87,7 @@ Boat::Boat() : PixmapItem(QString("boat"), GraphicsScene::Big),
speed(0), bombsAlreadyLaunched(0), direction(Boat::None), movementAnimation(0)
{
setZValue(4);
- setFlags(QGraphicsItem::ItemIsMovable | QGraphicsItem::ItemIsFocusable);
+ setFlags(QGraphicsItem::ItemIsFocusable);
//The movement animation used to animate the boat
movementAnimation = new QPropertyAnimation(this, "pos");