Merge pull request #116 from jrassa/carousel-fix

Fix for carousel theming
This commit is contained in:
Jools Wills 2017-04-07 02:54:34 +01:00 committed by GitHub
commit 848788d982

View file

@ -310,6 +310,9 @@ void SystemView::getViewElements(const std::shared_ptr<ThemeData>& theme)
getDefaultElements();
if (!theme->hasView("system"))
return;
const ThemeData::ThemeElement* carouselElem = theme->getElement("system", "systemcarousel", "carousel");
if (carouselElem)
getCarouselFromTheme(carouselElem);