summaryrefslogtreecommitdiffstats
path: root/collectionwebradioview.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-02-18 13:54:07 +0100
committerArno <arno@disconnect.de>2018-02-18 13:54:07 +0100
commitc40077648a603d003aef3a54e0d3cd80e3e217d9 (patch)
treed663916ab2b79f7c283336bdfe506069ccc77197 /collectionwebradioview.cpp
parent7c0e52be015c1521153d307f28486008fb733bbf (diff)
downloadBeetPlayer-c40077648a603d003aef3a54e0d3cd80e3e217d9.tar.gz
BeetPlayer-c40077648a603d003aef3a54e0d3cd80e3e217d9.tar.bz2
BeetPlayer-c40077648a603d003aef3a54e0d3cd80e3e217d9.zip
Play WebRadio again
To make this work, remove duplicate Enums from PlayerWidget. Btw, WebRadio was defined twice: as ModelType and as ItemTime, with the former always taking preference. Doesn't really matter, because I think I have to completely revamp the WebRadio handling...
Diffstat (limited to 'collectionwebradioview.cpp')
-rw-r--r--collectionwebradioview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/collectionwebradioview.cpp b/collectionwebradioview.cpp
index 805c78c..7fa01de 100644
--- a/collectionwebradioview.cpp
+++ b/collectionwebradioview.cpp
@@ -23,6 +23,8 @@ void CollectionWebradioView::populate(){
curWr->setIcon(wrIcon);
curWr->setData(wrQ.value(1), UrlRole);
curWr->setData(wrQ.value(0), TitleRole);
+ curWr->setData(WebRadio, TypeRole);
+ curWr->setData(true, RemoteRole);
root->appendRow(curWr);
}
enableSorting();