fixing chopped sender/timestamp column after column movement
[quassel.git] / src / qtui / chatscene.cpp
index b4cb786..e865c45 100644 (file)
@@ -47,7 +47,7 @@ ChatScene::ChatScene(QAbstractItemModel *model, const QString &idString, qreal w
     _sceneRect(0, 0, width, 0),
     _firstLineRow(-1),
     _viewportHeight(0),
-    _cutoffMode(CutoffLeft),
+    _cutoffMode(CutoffRight),
     _selectingItem(0),
     _selectionStart(-1),
     _isSelecting(false)
@@ -75,6 +75,7 @@ ChatScene::ChatScene(QAbstractItemModel *model, const QString &idString, qreal w
   addItem(_secondColHandle);
   _secondColHandle->setXPos(_secondColHandlePos);
   connect(_secondColHandle, SIGNAL(positionChanged(qreal)), this, SLOT(secondHandlePositionChanged(qreal)));
+
   connect(this, SIGNAL(sceneRectChanged(const QRectF &)), _secondColHandle, SLOT(sceneRectChanged(const QRectF &)));
 
   setHandleXLimits();