X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.cpp;h=c3a07b15884440ff1cbf826bc03ea753d54c91b9;hp=6c54f7c75bea7f0299dc760769da63c9b2981075;hb=ba934ceb1bfe30d01d5fb5c072c3197f8080be04;hpb=bfc967d449565c7435aecfb007e2df6fab1f9188 diff --git a/src/qtui/chatscene.cpp b/src/qtui/chatscene.cpp index 6c54f7c7..c3a07b15 100644 --- a/src/qtui/chatscene.cpp +++ b/src/qtui/chatscene.cpp @@ -32,6 +32,7 @@ #include "columnhandleitem.h" #include "messagefilter.h" #include "qtui.h" +#include "qtuistyle.h" #include "chatviewsettings.h" const qreal minContentsWidth = 200; @@ -152,7 +153,7 @@ void ChatScene::rowsInserted(const QModelIndex &index, int start, int end) { line->setPos(0, line->pos().y() + offset); } } - + // update sceneRect if(atTop || moveTop) { updateSceneRect(_sceneRect.adjusted(0, h, 0, 0));