X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fcolumnhandleitem.cpp;h=0f9aca5252673a3922886db61ef166cba1c4b3d4;hp=2a5ad2d53b50c7ff359fe6a1f6d97884477cfcaa;hb=3cc8b9030841cc3084ec6707a01f3b44ee58b8b9;hpb=694f9bfbf7f1af19108461c7e00d133e55082bce diff --git a/src/qtui/columnhandleitem.cpp b/src/qtui/columnhandleitem.cpp index 2a5ad2d5..0f9aca52 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-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #include "chatview.h" @@ -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); }