Commit ba9161b4 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: Selector: remove useless code line

parent ba07b415
...@@ -292,7 +292,6 @@ void PLSelector::createItems() ...@@ -292,7 +292,6 @@ void PLSelector::createItems()
{ {
int i_head = name.indexOf( "sd='" ) + 4; int i_head = name.indexOf( "sd='" ) + 4;
int i_tail = name.indexOf( '\'', i_head ); int i_tail = name.indexOf( '\'', i_head );
name.mid( i_head, i_tail - i_head );
QString iconname = QString( ":/sidebar/sd/%1" ).arg( name.mid( i_head, i_tail - i_head ) ); QString iconname = QString( ":/sidebar/sd/%1" ).arg( name.mid( i_head, i_tail - i_head ) );
QResource resource( iconname ); QResource resource( iconname );
if ( !resource.isValid() ) if ( !resource.isValid() )
......
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