summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-06-05 20:19:20 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-06-05 20:19:20 +0300
commitda190593c8b2739692d69718da91792f35d089e0 (patch)
tree71657311f3437c8a8d35c87e0d95e1455c0454ea /src
parentLazy load initial timeline events (diff)
downloadnheko-da190593c8b2739692d69718da91792f35d089e0.tar.xz
Repaint when the room avatar is received
Diffstat (limited to 'src')
-rw-r--r--src/RoomInfoListItem.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/RoomInfoListItem.cc b/src/RoomInfoListItem.cc

index 3d4c5355..be1b4133 100644 --- a/src/RoomInfoListItem.cc +++ b/src/RoomInfoListItem.cc
@@ -189,13 +189,13 @@ void RoomInfoListItem::paintEvent(QPaintEvent *event) void RoomInfoListItem::updateUnreadMessageCount(int count) { unreadMsgCount_ += count; - repaint(); + update(); } void RoomInfoListItem::clearUnreadMessageCount() { unreadMsgCount_ = 0; - repaint(); + update(); } void RoomInfoListItem::setPressedState(bool state) @@ -212,7 +212,7 @@ void RoomInfoListItem::setPressedState(bool state) void RoomInfoListItem::setState(const RoomState &new_state) { state_ = new_state; - repaint(); + update(); } void RoomInfoListItem::contextMenuEvent(QContextMenuEvent *event)