From: Bas Pape Date: Sat, 20 Apr 2013 21:39:14 +0000 (+0200) Subject: setAcceptsHoverEvents is deprecated in Qt 5. X-Git-Tag: 0.11.0~71 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=a8dca306f3c96489ba7635edc02692747c909df2 setAcceptsHoverEvents is deprecated in Qt 5. setAcceptsHoverEvents has been around since 4.4 --- 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));