X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.h;h=c6ea9fec1ad1bef9b3da2270d94761bb02a81ac9;hp=aa741cbfb4670c770d568e71c32ba0878fc0872e;hb=012e439e5ed275884fb8c5006c62fb3f6bfac27c;hpb=7cef35ccdcb26ad547383537d3615644df703c9a diff --git a/src/qtui/chatscene.h b/src/qtui/chatscene.h index aa741cbf..c6ea9fec 100644 --- a/src/qtui/chatscene.h +++ b/src/qtui/chatscene.h @@ -97,6 +97,9 @@ private: // calls to QChatScene::sceneRect() are very expensive. As we manage the scenerect ourselves // we store the size in a member variable. QRectF _sceneRect; + int _firstLineRow; // the first row to display (aka: not a daychange msg) + void updateSceneRect(); + void updateSceneRect(qreal width); void updateSceneRect(const QRectF &rect); qreal _viewportHeight;