mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
Remove usage of deprecated qSort
This commit is contained in:
committed by
Mat Sutcliffe
parent
7bc20d45cf
commit
c82ff139fe
@@ -15,6 +15,8 @@
|
||||
#include <Qt>
|
||||
#include <QtGlobal>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
|
||||
namespace BlackMisc
|
||||
@@ -162,7 +164,7 @@ namespace BlackMisc
|
||||
|
||||
QString rows;
|
||||
QList<CommandHtmlHelp> cmds(s_commands);
|
||||
qSort(cmds.begin(), cmds.end(), CommandHtmlHelp::less);
|
||||
std::sort(cmds.begin(), cmds.end(), CommandHtmlHelp::less);
|
||||
|
||||
static const QString cmdCol(QString().fill('-', 20));
|
||||
static const QString textCol(QString().fill('-', 40));
|
||||
|
||||
Reference in New Issue
Block a user