projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
850f5ae
)
Bring back the workaround to not reserve space for the non-existing horizontal scroll...
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Sun, 31 Aug 2008 12:46:25 +0000
(14:46 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Sun, 31 Aug 2008 12:46:25 +0000
(14:46 +0200)
src/qtui/chatview.cpp
patch
|
blob
|
history
diff --git
a/src/qtui/chatview.cpp
b/src/qtui/chatview.cpp
index
ff0460a
..
ce79b65
100644
(file)
--- a/
src/qtui/chatview.cpp
+++ b/
src/qtui/chatview.cpp
@@
-59,9
+59,8
@@
void ChatView::init(MessageFilter *filter) {
}
void ChatView::resizeEvent(QResizeEvent *event) {
-// scene()->setWidth(event->size().width() - 2); // FIXME figure out why we have to hardcode the -2 here
QGraphicsView::resizeEvent(event);
- scene()->setWidth(viewport()->width()
);
+ scene()->setWidth(viewport()->width()
- 2); // FIXME figure out why we have to hardcode the -2 here -> Qt-Bug most probably
verticalScrollBar()->setValue(verticalScrollBar()->maximum());
}