[UI] First working mobile version

This commit is contained in:
emeric
2015-03-04 13:16:44 +01:00
parent e5a5e7dbc9
commit d2603da6de
27 changed files with 1071 additions and 52 deletions
+1 -1
View File
@@ -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);