Use list instead of map for songs in internet search

Fixes issues with sorting
This commit is contained in:
Jonas Kvinge
2022-06-12 01:59:05 +02:00
parent f1dc0f95c8
commit fa3891e383
12 changed files with 20 additions and 12 deletions

View File

@@ -21,8 +21,6 @@
#ifndef INTERNETSONGMIMEDATA_H
#define INTERNETSONGMIMEDATA_H
#include <QMap>
#include "core/mimedata.h"
#include "core/song.h"
@@ -35,7 +33,7 @@ class InternetSongMimeData : public MimeData {
explicit InternetSongMimeData(InternetService *_service, QObject* = nullptr) : service(_service) {}
InternetService *service;
SongMap songs;
SongList songs;
};
#endif // INTERNETSONGMIMEDATA_H