mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-07-30 14:04:12 -04:00
Replace deprecated Qt algorithms with C++ Standard Library equivalents
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <functional>
|
||||
#include <fstream>
|
||||
#include <iterator>
|
||||
#include <algorithm>
|
||||
#include <fftw3.h>
|
||||
#include <QLineEdit>
|
||||
#include <QRegExpValidator>
|
||||
@@ -7923,9 +7924,9 @@ QString MainWindow::sortHoundCalls(QString t, int isort, int max_dB)
|
||||
|
||||
if(isort>1) {
|
||||
if(bReverse) {
|
||||
qSort(list.begin(),list.end(),qGreater<int>());
|
||||
std::sort (list.begin (), list.end (), std::greater<int> ());
|
||||
} else {
|
||||
qSort(list.begin(),list.end());
|
||||
std::sort (list.begin (), list.end ());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user