Commit 75c87e6f authored by Aniket Kumar's avatar Aniket Kumar 🤵 Committed by Simon Redman
Browse files

code adjust

parent d7c93488
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment