]> git.sesse.net Git - vlc/commitdiff
Qt4: cosmetic
authorIlkka Ollakka <ileoo@videolan.org>
Wed, 23 Jun 2010 11:37:59 +0000 (14:37 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Wed, 23 Jun 2010 11:37:59 +0000 (14:37 +0300)
modules/gui/qt4/components/playlist/playlist_model.cpp

index 2e27bc015bd660efe4cf9ba39fd8f3e35797daa5..2ec10d9978a9c7b1f8c794c4c5a79d2e3e58dac2 100644 (file)
@@ -477,8 +477,7 @@ QModelIndex PLModel::parent( const QModelIndex &index ) const
         msg_Err( p_playlist, "----- PLEASE REPORT THIS ------" );
         return createIndex( 0, 0, parentItem );
     }
-    QModelIndex ind = createIndex(parentItem->row(), 0, parentItem);
-    return ind;
+    return createIndex(parentItem->row(), 0, parentItem);
 }
 
 int PLModel::columnCount( const QModelIndex &i) const