setAcceptsHoverEvents is deprecated in Qt 5.
authorBas Pape <baspape@gmail.com>
Sat, 20 Apr 2013 21:39:14 +0000 (23:39 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 24 Mar 2014 23:21:26 +0000 (00:21 +0100)
setAcceptsHoverEvents has been around since 4.4

src/qtui/columnhandleitem.cpp

index e67c7a1..87dc351 100644 (file)
@@ -38,7 +38,7 @@ ColumnHandleItem::ColumnHandleItem(qreal w, QGraphicsItem *parent)
     _opacity(0),
     _animation(new QPropertyAnimation(this, "opacity", this))
 {
     _opacity(0),
     _animation(new QPropertyAnimation(this, "opacity", this))
 {
-    setAcceptsHoverEvents(true);
+    setAcceptHoverEvents(true);
     setZValue(10);
     setCursor(QCursor(Qt::OpenHandCursor));
 
     setZValue(10);
     setCursor(QCursor(Qt::OpenHandCursor));