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
bfd255c
..
487c2f2
100644
(file)
--- a/
src/qtui/chatitem.cpp
+++ b/
src/qtui/chatitem.cpp
@@
-46,8
+46,8
@@
QVariant ChatItem::data(int role) const {
}
int ChatItem::setWidth(int w) {
- w -= 10;
if(w == _boundingRect.width()) return _boundingRect.height();
+ prepareGeometryChange();
_boundingRect.setWidth(w);
int h = heightForWidth(w);
_boundingRect.setHeight(h);