Compare commits
1 Commits
v24.08.3
...
work/inval
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
739c96711c |
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include "sortfilterroomlistmodel.h"
|
#include "sortfilterroomlistmodel.h"
|
||||||
|
|
||||||
|
#include "neochatconfig.h"
|
||||||
#include "roomlistmodel.h"
|
#include "roomlistmodel.h"
|
||||||
#include "spacehierarchycache.h"
|
#include "spacehierarchycache.h"
|
||||||
|
|
||||||
@@ -14,6 +15,15 @@ SortFilterRoomListModel::SortFilterRoomListModel(QObject *parent)
|
|||||||
connect(this, &SortFilterRoomListModel::filterTextChanged, this, [this]() {
|
connect(this, &SortFilterRoomListModel::filterTextChanged, this, [this]() {
|
||||||
invalidateFilter();
|
invalidateFilter();
|
||||||
});
|
});
|
||||||
|
connect(NeoChatConfig::self(), &NeoChatConfig::ShowRenameChanged, this, [this] {
|
||||||
|
invalidate();
|
||||||
|
});
|
||||||
|
connect(NeoChatConfig::self(), &NeoChatConfig::ShowAvatarUpdateChanged, this, [this] {
|
||||||
|
invalidate();
|
||||||
|
});
|
||||||
|
connect(NeoChatConfig::self(), &NeoChatConfig::ShowLeaveJoinEventChanged, this, [this] {
|
||||||
|
invalidate();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
void SortFilterRoomListModel::setRoomSortOrder(SortFilterRoomListModel::RoomSortOrder sortOrder)
|
void SortFilterRoomListModel::setRoomSortOrder(SortFilterRoomListModel::RoomSortOrder sortOrder)
|
||||||
|
|||||||
Reference in New Issue
Block a user