[vlc-commits] Qt: Selector: remove useless code line

Francois Cartegnie git at videolan.org
Sat Mar 30 17:47:24 CET 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Mar 30 17:37:42 2013 +0100| [ba9161b4f19e06b3b12534f6006b2fadeb8be7db] | committer: Francois Cartegnie

Qt: Selector: remove useless code line

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ba9161b4f19e06b3b12534f6006b2fadeb8be7db
---

 modules/gui/qt4/components/playlist/selector.cpp |    1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/gui/qt4/components/playlist/selector.cpp b/modules/gui/qt4/components/playlist/selector.cpp
index 8b4c0cc..0d22010 100644
--- a/modules/gui/qt4/components/playlist/selector.cpp
+++ b/modules/gui/qt4/components/playlist/selector.cpp
@@ -292,7 +292,6 @@ void PLSelector::createItems()
             {
                 int i_head = name.indexOf( "sd='" ) + 4;
                 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 ) );
                 QResource resource( iconname );
                 if ( !resource.isValid() )



More information about the vlc-commits mailing list