summaryrefslogtreecommitdiffstats
path: root/src/RoomList.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/RoomList.cc')
-rw-r--r--src/RoomList.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/RoomList.cc b/src/RoomList.cc
index 402633c3..7560a616 100644
--- a/src/RoomList.cc
+++ b/src/RoomList.cc
@@ -281,3 +281,12 @@ RoomList::closeLeaveRoomDialog(bool leaving, const QString &room_id)
client_->leaveRoom(room_id);
}
}
+
+void
+RoomList::paintEvent(QPaintEvent *)
+{
+ QStyleOption opt;
+ opt.init(this);
+ QPainter p(this);
+ style()->drawPrimitive(QStyle::PE_Widget, &opt, &p, this);
+}