projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Introduce column separator items; change most of ChatView to use qreal
[quassel.git]
/
src
/
qtui
/
chatitem.cpp
diff --git
a/src/qtui/chatitem.cpp
b/src/qtui/chatitem.cpp
index
a3f3d30
..
487c2f2
100644
(file)
--- a/
src/qtui/chatitem.cpp
+++ b/
src/qtui/chatitem.cpp
@@
-47,6
+47,7
@@
QVariant ChatItem::data(int role) const {
int ChatItem::setWidth(int w) {
if(w == _boundingRect.width()) return _boundingRect.height();
+ prepareGeometryChange();
_boundingRect.setWidth(w);
int h = heightForWidth(w);
_boundingRect.setHeight(h);