X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fcolumnhandleitem.cpp;h=cf0e5d7ccb2c63c56012eb53eb27f5234a160199;hp=7a93c4f6217560a48c75de67f7bebbdb17059866;hb=70ededc490cb201e52b6d8ca4c2364d4a001b6c4;hpb=e95dcb65efff852c8a05b0ee2bc7a5bf400bcc71 diff --git a/src/qtui/columnhandleitem.cpp b/src/qtui/columnhandleitem.cpp index 7a93c4f6..cf0e5d7c 100644 --- a/src/qtui/columnhandleitem.cpp +++ b/src/qtui/columnhandleitem.cpp @@ -27,6 +27,8 @@ #include #include +#include + ColumnHandleItem::ColumnHandleItem(qreal w, QGraphicsItem *parent) : QGraphicsItem(parent), _width(w), @@ -55,8 +57,8 @@ void ColumnHandleItem::setXLimits(qreal min, qreal max) { } void ColumnHandleItem::sceneRectChanged(const QRectF &rect) { - if(rect.height() != boundingRect().height()) - prepareGeometryChange(); + Q_UNUSED(rect) + prepareGeometryChange(); } void ColumnHandleItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event) {