X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fchatview.cpp;fp=src%2Fqtui%2Fchatview.cpp;h=b40b29009c023b45a75920936c45764e7bdcbecb;hb=777799ecd614503b20c0fc9d31223556ecc6078b;hp=53c4392733a08f7520a2ad25a6f3122090f75042;hpb=12e650ff4be67680e3e3f31e2aa79653c429756b;p=quassel.git diff --git a/src/qtui/chatview.cpp b/src/qtui/chatview.cpp index 53c43927..b40b2900 100644 --- a/src/qtui/chatview.cpp +++ b/src/qtui/chatview.cpp @@ -128,16 +128,9 @@ void ChatView::resizeEvent(QResizeEvent *event) { QGraphicsView::resizeEvent(event); - // FIXME: do we really need to scroll down on resize? - - // we can reduce viewport updates if we scroll to the bottom allready at the beginning - verticalScrollBar()->setValue(verticalScrollBar()->maximum()); scene()->updateForViewport(viewport()->width(), viewport()->height()); adjustSceneRect(); - _lastScrollbarPos = verticalScrollBar()->maximum(); - verticalScrollBar()->setValue(verticalScrollBar()->maximum()); - checkChatLineCaches(); }