From 53849a6eb70df0e1dbea0d7418f6eb5de7466917 Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Wed, 23 Jun 2010 14:37:59 +0300 Subject: [PATCH] Qt4: cosmetic --- modules/gui/qt4/components/playlist/playlist_model.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp index 2e27bc015b..2ec10d9978 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 -- 2.39.2