projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e105229
)
Initialize ChatView scrolled to bottom
author
Sebastian Goth
<seezer@roath.org>
Wed, 25 Jun 2014 17:16:23 +0000
(19:16 +0200)
committer
Daniel Albers
<daniel@lbe.rs>
Mon, 28 Jul 2014 13:55:31 +0000
(15:55 +0200)
Now that we don't scroll on every resize, ensure that we start scrolled
to bottom.
src/qtui/chatview.cpp
patch
|
blob
|
history
diff --git
a/src/qtui/chatview.cpp
b/src/qtui/chatview.cpp
index
b8cb2f1
..
20b25e0
100644
(file)
--- a/
src/qtui/chatview.cpp
+++ b/
src/qtui/chatview.cpp
@@
-80,7
+80,7
@@
void ChatView::init(MessageFilter *filter)
setScene(_scene);
connect(verticalScrollBar(), SIGNAL(valueChanged(int)), this, SLOT(verticalScrollbarChanged(int)));
- _lastScrollbarPos = verticalScrollBar()->
value
();
+ _lastScrollbarPos = verticalScrollBar()->
maximum
();
connect(Client::networkModel(), SIGNAL(markerLineSet(BufferId, MsgId)), SLOT(markerLineSet(BufferId, MsgId)));