Fixed compatibility with Qt < 5.11
This commit is contained in:
parent
bf5ae884de
commit
12aa94ad9a
@ -65,7 +65,7 @@ RoomList::RoomList(QSharedPointer<UserSettings> userSettings, QWidget *parent)
|
||||
topLayout_->addWidget(scrollArea_);
|
||||
|
||||
connect(this, &RoomList::updateRoomAvatarCb, this, &RoomList::updateRoomAvatar);
|
||||
connect(userSettings.get(),
|
||||
connect(userSettings.data(),
|
||||
&UserSettings::roomSortingChanged,
|
||||
this,
|
||||
&RoomList::sortRoomsByLastMessage);
|
||||
|
Loading…
Reference in New Issue
Block a user