Fixed compatibility with Qt < 5.11

pull/146/head
Emi Simpson 5 years ago
parent bf5ae884de
commit 12aa94ad9a
No known key found for this signature in database
GPG Key ID: 68FAB2E2E6DFC98B
  1. 2
      src/RoomList.cpp

@ -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…
Cancel
Save