From: Marcus Eggenberger Date: Tue, 28 Oct 2008 00:13:06 +0000 (+0100) Subject: clean up X-Git-Tag: 0.3.1~115 X-Git-Url: https://git.quassel-irc.org/?a=commitdiff_plain;h=060eed53b2da720c717e43a1b92dba2a6a7ab13e;p=quassel.git clean up --- diff --git a/src/qtui/chatscene.cpp b/src/qtui/chatscene.cpp index 56f51548..811eec3e 100644 --- a/src/qtui/chatscene.cpp +++ b/src/qtui/chatscene.cpp @@ -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(model); if(filter) { diff --git a/src/qtui/chatscene.h b/src/qtui/chatscene.h index 2f568d31..753b8873 100644 --- a/src/qtui/chatscene.h +++ b/src/qtui/chatscene.h @@ -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;