X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.cpp;h=87dfae5724fd8fec20946680d33309f5a89af711;hp=833cfe3e23fbc6af8b89a3ba671c7a05a52e8a8e;hb=61e0633ce94a38e669382c29db498f335d2e0fa8;hpb=0c4d5e393048c0f7487c9080d5f2625f016fb41c diff --git a/src/qtui/chatscene.cpp b/src/qtui/chatscene.cpp index 833cfe3e..87dfae57 100644 --- a/src/qtui/chatscene.cpp +++ b/src/qtui/chatscene.cpp @@ -350,6 +350,7 @@ void ChatScene::setWidth(qreal width) { updateSceneRect(width); setHandleXLimits(); + emit layoutChanged(); // clock_t endT = clock(); // qDebug() << "resized" << _lines.count() << "in" << (float)(endT - startT) / CLOCKS_PER_SEC << "sec"; @@ -417,7 +418,9 @@ void ChatScene::secondHandlePositionChanged(qreal xpos) { } //setItemIndexMethod(QGraphicsScene::BspTreeIndex); + updateSceneRect(); setHandleXLimits(); + emit layoutChanged(); // clock_t endT = clock(); // qDebug() << "resized" << _lines.count() << "in" << (float)(endT - startT) / CLOCKS_PER_SEC << "sec";