setAcceptsHoverEvents is deprecated in Qt 5.
[quassel.git] / 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));