X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fcolumnhandleitem.cpp;h=62bd14bb0221c392cef7c521a00dcea2b1735dd0;hb=60bf8c5270a523172fd4e4dd4768058af612439f;hp=6f791387d49240e97d784414f02852765dee72b5;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222;p=quassel.git diff --git a/src/qtui/columnhandleitem.cpp b/src/qtui/columnhandleitem.cpp index 6f791387..62bd14bb 100644 --- a/src/qtui/columnhandleitem.cpp +++ b/src/qtui/columnhandleitem.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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); }