projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
giving the message model the control over the dynamic backlog requests
[quassel.git]
/
src
/
qtui
/
chatview.cpp
diff --git
a/src/qtui/chatview.cpp
b/src/qtui/chatview.cpp
index
6e55bba
..
ed71dd0
100644
(file)
--- a/
src/qtui/chatview.cpp
+++ b/
src/qtui/chatview.cpp
@@
-84,7
+84,7
@@
void ChatView::lastLineChanged(QGraphicsItem *chatLine, qreal offset) {
Q_UNUSED(chatLine)
QAbstractSlider *vbar = verticalScrollBar();
Q_ASSERT(vbar);
Q_UNUSED(chatLine)
QAbstractSlider *vbar = verticalScrollBar();
Q_ASSERT(vbar);
- if(vbar->maximum() - vbar->value() <=
offset + 5
) { // 5px grace area
+ if(vbar->maximum() - vbar->value() <=
(offset + 5) * _currentScaleFactor
) { // 5px grace area
vbar->setValue(vbar->maximum());
}
}
vbar->setValue(vbar->maximum());
}
}