X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fcolumnhandleitem.cpp;h=87dc351eec83ce46f34986fb23b32f3827b363e9;hb=e25b94c06eb263f175361a8517599adb2b8588ed;hp=916748ab1206fe1413b4fbf4026ab07cfcf4bd5f;hpb=9d54503555534a2c554f09a33df6afa33d6308ec;p=quassel.git diff --git a/src/qtui/columnhandleitem.cpp b/src/qtui/columnhandleitem.cpp index 916748ab..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)); @@ -58,6 +58,7 @@ void ColumnHandleItem::setXPos(qreal xpos) QRectF sceneBRect = _boundingRect.translated(x(), 0); _sceneLeft = sceneBRect.left(); _sceneRight = sceneBRect.right(); + emit positionChanged(xpos); }