projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
faster ChatLine insertion into the ChatScene. And some minor improvements
[quassel.git]
/
src
/
qtui
/
columnhandleitem.cpp
diff --git
a/src/qtui/columnhandleitem.cpp
b/src/qtui/columnhandleitem.cpp
index
7a93c4f
..
cf0e5d7
100644
(file)
--- a/
src/qtui/columnhandleitem.cpp
+++ b/
src/qtui/columnhandleitem.cpp
@@
-27,6
+27,8
@@
#include <QPainter>
#include <QPalette>
#include <QPainter>
#include <QPalette>
+#include <QDebug>
+
ColumnHandleItem::ColumnHandleItem(qreal w, QGraphicsItem *parent)
: QGraphicsItem(parent),
_width(w),
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) {
}
void ColumnHandleItem::sceneRectChanged(const QRectF &rect) {
-
if(rect.height() != boundingRect().height()
)
-
prepareGeometryChange();
+
Q_UNUSED(rect
)
+ prepareGeometryChange();
}
void ColumnHandleItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event) {
}
void ColumnHandleItem::mouseMoveEvent(QGraphicsSceneMouseEvent *event) {