summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview/chip
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-06-25 20:05:58 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-26 04:18:22 +0200
commitce17ca7791c3db6fd3d64e01d4dc0b877c6cf781 (patch)
tree99e36602c05b07c90b689a477c171c89a712439e /examples/graphicsview/chip
parent62d4840011c3b5038402a4b043a7f7f85995b8f3 (diff)
QGraphicsItem::setAcceptsHoverEvents is deprecated, replace it
It is replaced by setAcceptHoverEvents (note the lack of s), even though the original name made more sense -- "set (if this item) accepts hover events". Change-Id: Ia6137c0e37b0a5932836f1d08fb8fa436f736eed Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'examples/graphicsview/chip')
-rw-r--r--examples/graphicsview/chip/chip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graphicsview/chip/chip.cpp b/examples/graphicsview/chip/chip.cpp
index 912a7902c9..665daea1dc 100644
--- a/examples/graphicsview/chip/chip.cpp
+++ b/examples/graphicsview/chip/chip.cpp
@@ -51,7 +51,7 @@ Chip::Chip(const QColor &color, int x, int y)
setZValue((x + y) % 2);
setFlags(ItemIsSelectable | ItemIsMovable);
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
}
QRectF Chip::boundingRect() const