[UI] First working mobile version
This commit is contained in:
@@ -377,7 +377,7 @@ PlayQueue::addTracks(const std::vector<Database::Track::id_type>& trackIds)
|
||||
|
||||
std::string coverUrl;
|
||||
if (track->hasCover())
|
||||
coverUrl = _coverResource->url() + "&coverid=" + Wt::asString(track.id()).toUTF8();
|
||||
coverUrl = _coverResource->getTrackUrl(track.id());
|
||||
else
|
||||
coverUrl = "images/unknown-cover.jpg";
|
||||
_model->setData(dataRow, COLUMN_ID_COVER, coverUrl, Wt::DecorationRole);
|
||||
|
||||
Reference in New Issue
Block a user