[vlc-devel] commit: fix addition of multiple meta pairs adding the first one repeatedly ( Vincent Penquerc'h )

git version control git at videolan.org
Sun Feb 8 16:09:36 CET 2009


vlc | branch: master | Vincent Penquerc'h <ogg.k.ogg.k at googlemail.com> | Sun Feb  8 14:22:28 2009 +0000| [95862a5aaf79b49731b671d4224f09ebb327259f] | committer: Rémi Denis-Courmont 

fix addition of multiple meta pairs adding the first one repeatedly

Signed-off-by: Rémi Denis-Courmont <rdenis at simphalempin.com>

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

 modules/gui/qt4/components/info_panels.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/info_panels.cpp b/modules/gui/qt4/components/info_panels.cpp
index 73daea9..755b197 100644
--- a/modules/gui/qt4/components/info_panels.cpp
+++ b/modules/gui/qt4/components/info_panels.cpp
@@ -362,7 +362,6 @@ void ExtraMetaPanel::update( input_item_t *p_item )
         return;
     }
 
-    QStringList tempItem;
     QList<QTreeWidgetItem *> items;
 
     extraMetaTree->clear();
@@ -382,6 +381,7 @@ void ExtraMetaPanel::update( input_item_t *p_item )
     {
         const char * psz_value = (const char *)vlc_dictionary_value_for_key(
                 p_dict, ppsz_allkey[i] );
+        QStringList tempItem;
         tempItem.append( qfu( ppsz_allkey[i] ) + " : ");
         tempItem.append( qfu( psz_value ) );
         items.append( new QTreeWidgetItem ( extraMetaTree, tempItem ) );




More information about the vlc-devel mailing list