/***************************************************************************
- * Copyright (C) 2005-2018 by the Quassel Project *
+ * Copyright (C) 2005-2019 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#include "chatview.h"
+#include <algorithm>
+
#include <QGraphicsTextItem>
#include <QKeyEvent>
#include <QMenu>
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;
}