Apply suggestion to smsapp/conversationssortfilterproxymodel.cpp

This commit is contained in:
Aniket Kumar 2020-04-23 01:55:42 +00:00 committed by Simon Redman
parent cd0259aba6
commit d712b1067f

View file

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