summaryrefslogtreecommitdiffstats
path: root/examples/sql/drilldown/imageitem.cpp
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/sql/drilldown/imageitem.cpp
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/sql/drilldown/imageitem.cpp')
-rw-r--r--examples/sql/drilldown/imageitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sql/drilldown/imageitem.cpp b/examples/sql/drilldown/imageitem.cpp
index 8173b2ae5f..f712717f08 100644
--- a/examples/sql/drilldown/imageitem.cpp
+++ b/examples/sql/drilldown/imageitem.cpp
@@ -46,7 +46,7 @@ ImageItem::ImageItem(int id, const QPixmap &pixmap, QGraphicsItem *parent,
: QGraphicsPixmapItem(pixmap, parent, scene)
{
recordId = id;
- setAcceptsHoverEvents(true);
+ setAcceptHoverEvents(true);
timeLine.setDuration(150);
timeLine.setFrameRange(0, 150);