code adjust
This commit is contained in:
parent
d7c93488a8
commit
75c87e6fdf
1 changed files with 2 additions and 2 deletions
|
@ -35,13 +35,13 @@ ConversationsSortFilterProxyModel::ConversationsSortFilterProxyModel()
|
|||
setFilterRole(ConversationListModel::ConversationIdRole);
|
||||
}
|
||||
|
||||
ConversationsSortFilterProxyModel::~ConversationsSortFilterProxyModel() {}
|
||||
|
||||
void ConversationsSortFilterProxyModel::setConversationsFilterRole(int role)
|
||||
{
|
||||
setFilterRole(role);
|
||||
}
|
||||
|
||||
ConversationsSortFilterProxyModel::~ConversationsSortFilterProxyModel() {}
|
||||
|
||||
bool ConversationsSortFilterProxyModel::lessThan(const QModelIndex& leftIndex, const QModelIndex& rightIndex) const
|
||||
{
|
||||
QVariant leftDataTimeStamp = sourceModel()->data(leftIndex, ConversationListModel::DateRole);
|
||||
|
|
Loading…
Reference in a new issue