Sort folder view items, as MPD does not seem to sort playlist names.

Closes #1148
This commit is contained in:
Craig Drummond
2018-02-02 16:43:54 +00:00
parent 3684f3b26d
commit b0a0682c5e
2 changed files with 4 additions and 0 deletions

View File

@@ -744,6 +744,9 @@ void MPDParseUtils::parseDirItems(const QByteArray &data, const QString &mpdDir,
}
}
}
if (Loc_Browse==loc) {
qSort(songs);
}
songList+=songs;
}