Remove room re-ordering option
This commit is contained in:
parent
3fdfc9b69f
commit
4865f852d8
5 changed files with 3 additions and 37 deletions
|
|
@ -30,9 +30,8 @@
|
|||
#include "Utils.h"
|
||||
#include "ui/OverlayModal.h"
|
||||
|
||||
RoomList::RoomList(QSharedPointer<UserSettings> userSettings, QWidget *parent)
|
||||
RoomList::RoomList(QWidget *parent)
|
||||
: QWidget(parent)
|
||||
, userSettings_{userSettings}
|
||||
{
|
||||
topLayout_ = new QVBoxLayout(this);
|
||||
topLayout_->setSpacing(0);
|
||||
|
|
@ -293,9 +292,6 @@ RoomList::updateRoomDescription(const QString &roomid, const DescInfo &info)
|
|||
void
|
||||
RoomList::sortRoomsByLastMessage()
|
||||
{
|
||||
if (!userSettings_->isOrderingEnabled())
|
||||
return;
|
||||
|
||||
isSortPending_ = false;
|
||||
|
||||
std::multimap<uint64_t, RoomInfoListItem *, std::greater<uint64_t>> times;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue