More warnings removed
This commit is contained in:
@@ -443,7 +443,7 @@ void Helpers::populateFileComboBox(QComboBox * b, const QSet<QString> & set, con
|
|||||||
bool added = false;
|
bool added = false;
|
||||||
// Convert set into list and sort it alphabetically case insensitive
|
// Convert set into list and sort it alphabetically case insensitive
|
||||||
QStringList list = QStringList::fromSet(set);
|
QStringList list = QStringList::fromSet(set);
|
||||||
qSort(list.begin(), list.end(), caseInsensitiveLessThan);
|
std::sort(list.begin(), list.end(), caseInsensitiveLessThan);
|
||||||
foreach (QString entry, list) {
|
foreach (QString entry, list) {
|
||||||
b->addItem(entry);
|
b->addItem(entry);
|
||||||
if (entry == current) {
|
if (entry == current) {
|
||||||
|
|||||||
@@ -830,7 +830,7 @@ void LogsDialog::plotLogs()
|
|||||||
foreach (QModelIndex index, selection) {
|
foreach (QModelIndex index, selection) {
|
||||||
selectedRows.append(index.row());
|
selectedRows.append(index.row());
|
||||||
}
|
}
|
||||||
qSort(selectedRows.begin(), selectedRows.end());
|
std::sort(selectedRows.begin(), selectedRows.end());
|
||||||
} else {
|
} else {
|
||||||
hasLogSelection = false;
|
hasLogSelection = false;
|
||||||
rowCount = ui->logTable->rowCount();
|
rowCount = ui->logTable->rowCount();
|
||||||
|
|||||||
@@ -483,7 +483,7 @@ void InputsPanel::expolistWidget_doubleClicked(QModelIndex index)
|
|||||||
|
|
||||||
void InputsPanel::exposDeleteList(QList<int> list, bool clearName)
|
void InputsPanel::exposDeleteList(QList<int> list, bool clearName)
|
||||||
{
|
{
|
||||||
qSort(list.begin(), list.end());
|
std::sort(list.begin(), list.end());
|
||||||
|
|
||||||
int iDec = 0;
|
int iDec = 0;
|
||||||
foreach(int idx, list) {
|
foreach(int idx, list) {
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ void MixesPanel::mixerlistWidget_doubleClicked(QModelIndex index)
|
|||||||
|
|
||||||
void MixesPanel::mixersDeleteList(QList<int> list)
|
void MixesPanel::mixersDeleteList(QList<int> list)
|
||||||
{
|
{
|
||||||
qSort(list.begin(), list.end());
|
std::sort(list.begin(), list.end());
|
||||||
|
|
||||||
int iDec = 0;
|
int iDec = 0;
|
||||||
foreach(int idx, list) {
|
foreach(int idx, list) {
|
||||||
|
|||||||
Reference in New Issue
Block a user