summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-25 22:20:34 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-11-25 22:20:34 +0200
commit54cf3418bc323b96b78e944c16f34082d5c2ef89 (patch)
tree3fa5772e566f07c6fdcfe7cd7236bd0669f88783 /include
parentf0ecf6eee6d6c9270f2e21f4f57af3f91044bd6c (diff)
Paint RoomList's background (#137)
Diffstat (limited to 'include')
-rw-r--r--include/RoomList.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/RoomList.h b/include/RoomList.h
index 7a48f7bd..aa7c919c 100644
--- a/include/RoomList.h
+++ b/include/RoomList.h
@@ -68,6 +68,9 @@ public slots:
void closeLeaveRoomDialog(bool leaving, const QString &room_id);
void clearRoomMessageCount(const QString &room_id);
+protected:
+ void paintEvent(QPaintEvent *event) override;
+
private:
void calculateUnreadMessageCount();