Differentiate generic and music carousels
commite82caeb168c68be222469ee83284d0cdff3e6b63
authorMichal Hruby <michal.mhr@gmail.com>
dateMon 30 Sep 2013, 16:11 (13 years ago)
parenta5a966b
Dash/GenericScopeView.qml+6−1
@@ -197,7 +197,12 @@ ScopeView {
197197 default: return "Generic/GenericFilterGrid.qml";
198198 }
199199 }
200− case "carousel": return "Generic/GenericCarousel.qml";
200+ case "carousel": {
201+ switch (contentType) {
202+ case "music": return "Music/MusicCarousel.qml";
203+ default: return "Generic/GenericCarousel.qml";
204+ }
205+ }
201206 case "special": {
202207 switch (contentType) {
203208 case "apps": return "Apps/RunningApplicationsGrid.qml";