From a8dca306f3c96489ba7635edc02692747c909df2 Mon Sep 17 00:00:00 2001 From: Bas Pape Date: Sat, 20 Apr 2013 23:39:14 +0200 Subject: [PATCH 1/1] setAcceptsHoverEvents is deprecated in Qt 5. setAcceptsHoverEvents has been around since 4.4 --- src/qtui/columnhandleitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtui/columnhandleitem.cpp b/src/qtui/columnhandleitem.cpp index e67c7a10..87dc351e 100644 --- a/src/qtui/columnhandleitem.cpp +++ b/src/qtui/columnhandleitem.cpp @@ -38,7 +38,7 @@ ColumnHandleItem::ColumnHandleItem(qreal w, QGraphicsItem *parent) _opacity(0), _animation(new QPropertyAnimation(this, "opacity", this)) { - setAcceptsHoverEvents(true); + setAcceptHoverEvents(true); setZValue(10); setCursor(QCursor(Qt::OpenHandCursor)); -- 2.20.1