summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/dragdroprobot/coloritem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graphicsview/dragdroprobot/coloritem.cpp')
-rw-r--r--examples/graphicsview/dragdroprobot/coloritem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graphicsview/dragdroprobot/coloritem.cpp b/examples/graphicsview/dragdroprobot/coloritem.cpp
index b6113fd..327fa87 100644
--- a/examples/graphicsview/dragdroprobot/coloritem.cpp
+++ b/examples/graphicsview/dragdroprobot/coloritem.cpp
@@ -76,7 +76,7 @@ void ColorItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
//! [2]
//! [3]
-void ColorItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
+void ColorItem::mousePressEvent(QGraphicsSceneMouseEvent *)
{
setCursor(Qt::ClosedHandCursor);
}