clean up
authorMarcus Eggenberger <egs@quassel-irc.org>
Tue, 28 Oct 2008 00:13:06 +0000 (01:13 +0100)
committerMarcus Eggenberger <egs@quassel-irc.org>
Tue, 28 Oct 2008 00:13:06 +0000 (01:13 +0100)
src/qtui/chatscene.cpp
src/qtui/chatscene.h

index 56f5154..811eec3 100644 (file)
@@ -49,8 +49,7 @@ ChatScene::ChatScene(QAbstractItemModel *model, const QString &idString, qreal w
     _viewportHeight(0),
     _selectingItem(0),
     _selectionStart(-1),
-    _isSelecting(false),
-    _lastBacklogSize(0)
+    _isSelecting(false)
 {
   MessageFilter *filter = qobject_cast<MessageFilter*>(model);
   if(filter) {
index 2f568d3..753b887 100644 (file)
@@ -56,7 +56,6 @@ public:
 
 public slots:
   void updateForViewport(qreal width, qreal height);
-  //void setWidth(qreal, bool forceReposition = false);
   void setWidth(qreal width);
 
   // these are used by the chatitems to notify the scene and manage selections
@@ -118,8 +117,6 @@ private:
   int _firstSelectionRow, _lastSelectionRow;
   bool _isSelecting;
 
-  int _lastBacklogSize;
-
   struct WebPreview {
     ChatItem *parentItem;
     QGraphicsItem *previewItem;