summary refs log tree commit diff
path: root/src/RoomInfoListItem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/RoomInfoListItem.h')
-rw-r--r--src/RoomInfoListItem.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/RoomInfoListItem.h b/src/RoomInfoListItem.h

index e609f4d8..da5a1bc4 100644 --- a/src/RoomInfoListItem.h +++ b/src/RoomInfoListItem.h
@@ -64,10 +64,7 @@ class RoomInfoListItem : public QWidget Q_PROPERTY(QColor btnTextColor READ btnTextColor WRITE setBtnTextColor) public: - RoomInfoListItem(QString room_id, - const RoomInfo &info, - QSharedPointer<UserSettings> userSettings, - QWidget *parent = nullptr); + RoomInfoListItem(QString room_id, const RoomInfo &info, QWidget *parent = nullptr); void updateUnreadMessageCount(int count, int highlightedCount); void clearUnreadMessageCount() { updateUnreadMessageCount(0, 0); }; @@ -220,6 +217,4 @@ private: QColor bubbleBgColor_; QColor bubbleFgColor_; - - QSharedPointer<UserSettings> settings; };