Commit 95862a5a authored by Vincent Penquerc'h's avatar Vincent Penquerc'h Committed by Rémi Denis-Courmont

fix addition of multiple meta pairs adding the first one repeatedly

Signed-off-by: default avatarRémi Denis-Courmont <rdenis@simphalempin.com>
parent 6c95dba4
...@@ -362,7 +362,6 @@ void ExtraMetaPanel::update( input_item_t *p_item ) ...@@ -362,7 +362,6 @@ void ExtraMetaPanel::update( input_item_t *p_item )
return; return;
} }
QStringList tempItem;
QList<QTreeWidgetItem *> items; QList<QTreeWidgetItem *> items;
extraMetaTree->clear(); extraMetaTree->clear();
...@@ -382,6 +381,7 @@ void ExtraMetaPanel::update( input_item_t *p_item ) ...@@ -382,6 +381,7 @@ void ExtraMetaPanel::update( input_item_t *p_item )
{ {
const char * psz_value = (const char *)vlc_dictionary_value_for_key( const char * psz_value = (const char *)vlc_dictionary_value_for_key(
p_dict, ppsz_allkey[i] ); p_dict, ppsz_allkey[i] );
QStringList tempItem;
tempItem.append( qfu( ppsz_allkey[i] ) + " : "); tempItem.append( qfu( ppsz_allkey[i] ) + " : ");
tempItem.append( qfu( psz_value ) ); tempItem.append( qfu( psz_value ) );
items.append( new QTreeWidgetItem ( extraMetaTree, tempItem ) ); items.append( new QTreeWidgetItem ( extraMetaTree, tempItem ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment