on xenial help sign in
Differentiate generic and music carousels.

Approved by PS Jenkins bot, Michał Sawicz.

commite14ba19152aee697d1d61970977163c7b1af8533 authorMichal Hruby <michal.mhr@gmail.com> dateWed 2 Oct 2013, 01:12 (13 years ago) parent552e15ee82caeb
1 file changed+6−1
Dash/GenericScopeView.qml+6−1
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";