[vlc-commits] commit: Qt4: cosmetic (Ilkka Ollakka )

git at videolan.org git at videolan.org
Wed Jun 23 13:41:46 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Wed Jun 23 14:37:59 2010 +0300| [53849a6eb70df0e1dbea0d7418f6eb5de7466917] | committer: Ilkka Ollakka 

Qt4: cosmetic

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

 .../gui/qt4/components/playlist/playlist_model.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index 2e27bc0..2ec10d9 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -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



More information about the vlc-commits mailing list