diff options
| author | Arno <arno@disconnect.de> | 2018-02-18 13:54:07 +0100 |
|---|---|---|
| committer | Arno <arno@disconnect.de> | 2018-02-18 13:54:07 +0100 |
| commit | c40077648a603d003aef3a54e0d3cd80e3e217d9 (patch) | |
| tree | d663916ab2b79f7c283336bdfe506069ccc77197 /collectionwebradioview.cpp | |
| parent | 7c0e52be015c1521153d307f28486008fb733bbf (diff) | |
| download | BeetPlayer-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.cpp | 2 |
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(); |
