Skip to content

Commit

Permalink
Remove track sorting for now
Browse files Browse the repository at this point in the history
  • Loading branch information
kraxarn committed Oct 31, 2020
1 parent a8f6bff commit 1b04106
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/spotifyqml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ QJsonObject SpotifyQml::getPlayback()

QJsonArray SpotifyQml::tracksToJson(QVector<spt::Track> &tracks)
{
std::sort(tracks.begin(), tracks.end(), [](const spt::Track &t1, const spt::Track &t2)
{
return t1.artist < t2.artist;
});

QJsonArray items;
for (auto &track : tracks)
items.append(track.toJson());
Expand Down

0 comments on commit 1b04106

Please sign in to comment.