QList<ChatLine*> ChatView::visibleChatLinesSorted(Qt::ItemSelectionMode mode) const
{
QList<ChatLine*> result = visibleChatLines(mode).toList();
- qSort(result.begin(), result.end(), chatLinePtrLessThan);
+ std::sort(result.begin(), result.end(), chatLinePtrLessThan);
return result;
}