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

Apply suggestion to smsapp/conversationssortfilterproxymodel.cpp

parent cd0259ab
...@@ -50,7 +50,7 @@ bool ConversationsSortFilterProxyModel::lessThan(const QModelIndex& leftIndex, c ...@@ -50,7 +50,7 @@ bool ConversationsSortFilterProxyModel::lessThan(const QModelIndex& leftIndex, c
const bool isLeftMultitarget = sourceModel()->data(leftIndex, ConversationListModel::MultitargetRole).toBool(); const bool isLeftMultitarget = sourceModel()->data(leftIndex, ConversationListModel::MultitargetRole).toBool();
const bool isRightMultitarget = sourceModel()->data(rightIndex, ConversationListModel::MultitargetRole).toBool(); const bool isRightMultitarget = sourceModel()->data(rightIndex, ConversationListModel::MultitargetRole).toBool();
if (isLeftMultitarget && !isRightMultitarget) { if (isLeftMultitarget && !isRightMultitarget) {
return false; return true;
} }
if (!isLeftMultitarget && isRightMultitarget) { if (!isLeftMultitarget && isRightMultitarget) {
return true; return true;
......
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