Commit 96986ea7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Port qSort

parent aab600e5
......@@ -197,7 +197,7 @@ void KSquaresWindow::gameReset()
void KSquaresWindow::gameOver(const QVector<KSquaresPlayer> &_playerList)
QVector<KSquaresPlayer> playerList = _playerList;
qSort(playerList.begin(), playerList.end(), qGreater<KSquaresPlayer>());
std::sort(playerList.begin(), playerList.end(), qGreater<KSquaresPlayer>());
ScoresDialog scoresDialog(this);
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