From 060eed53b2da720c717e43a1b92dba2a6a7ab13e Mon Sep 17 00:00:00 2001 From: Marcus Eggenberger Date: Tue, 28 Oct 2008 01:13:06 +0100 Subject: [PATCH] clean up --- src/qtui/chatscene.cpp | 3 +-- src/qtui/chatscene.h | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) 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; -- 2.20.1