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_);
|
topLayout_->addWidget(scrollArea_);
|
||||||
|
|
||||||
connect(this, &RoomList::updateRoomAvatarCb, this, &RoomList::updateRoomAvatar);
|
connect(this, &RoomList::updateRoomAvatarCb, this, &RoomList::updateRoomAvatar);
|
||||||
connect(userSettings.get(),
|
connect(userSettings.data(),
|
||||||
&UserSettings::roomSortingChanged,
|
&UserSettings::roomSortingChanged,
|
||||||
this,
|
this,
|
||||||
&RoomList::sortRoomsByLastMessage);
|
&RoomList::sortRoomsByLastMessage);
|
||||||
|
Loading…
Reference in New Issue
Block a user