X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.cpp;h=f111781ba3aac5ddce10d7ca1f29cfd4b4864a37;hp=e2b5f80ce6fe0f8357fa4bd054aa0b453f487fca;hb=530908dad5e50d43081c91a9e256a5daafcdce34;hpb=11e8c67f74a15b0f66e5bddf9760a3a70b5b7b64 diff --git a/src/qtui/chatscene.cpp b/src/qtui/chatscene.cpp index e2b5f80c..f111781b 100644 --- a/src/qtui/chatscene.cpp +++ b/src/qtui/chatscene.cpp @@ -170,7 +170,6 @@ void ChatScene::rowsInserted(const QModelIndex &index, int start, int end) { qreal width = _sceneRect.width(); bool atBottom = (start == _lines.count()); bool atTop = !atBottom && (start == 0); - bool moveTop = false; if(start < _lines.count()) { y = _lines.value(start)->y();