Commit f8d1501c authored by Erwan Tulou's avatar Erwan Tulou

skins2: remove unneeded check

parent ae179f86
...@@ -863,10 +863,7 @@ void Builder::addSlider( const BuilderData::Slider &rData ) ...@@ -863,10 +863,7 @@ void Builder::addSlider( const BuilderData::Slider &rData )
// Get the bitmaps of the background // Get the bitmaps of the background
GenericBitmap *pBgImage = NULL; GenericBitmap *pBgImage = NULL;
if( rData.m_imageId != "none" )
{
GET_BMP( pBgImage, rData.m_imageId ); GET_BMP( pBgImage, rData.m_imageId );
}
GenericLayout *pLayout = m_pTheme->getLayoutById( rData.m_layoutId ); GenericLayout *pLayout = m_pTheme->getLayoutById( rData.m_layoutId );
if( pLayout == NULL ) if( pLayout == NULL )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment