Fix segfault when leaving certain rooms.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
SpectralRoom::SpectralRoom(Connection* connection, QString roomId,
|
||||
JoinState joinState)
|
||||
: Room(connection, std::move(roomId), joinState) {
|
||||
: Room(connection, std::move(roomId), joinState), m_paintable(this) {
|
||||
connect(this, &SpectralRoom::notificationCountChanged, this,
|
||||
&SpectralRoom::countChanged);
|
||||
connect(this, &SpectralRoom::highlightCountChanged, this,
|
||||
|
||||
Reference in New Issue
Block a user