Commit 62454ff8 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

modules/gui/qt4: Reflects latest meta changes.

parent 0cfa8979
......@@ -291,12 +291,17 @@ void ExtraMetaPanel::update( input_item_t *p_item )
QStringList tempItem;
QList<QTreeWidgetItem *> items;
for (int i = 0; i < p_meta->i_extra; i++ )
char ** ppsz_allkey = vlc_dictionary_all_keys( p_meta->extra_meta );
for (int i = 0; ppsz_allkey[i] ; i++ )
{
tempItem.append( qfu( p_meta->ppsz_extra_name[i] ) + " : ");
tempItem.append( qfu( p_meta->ppsz_extra_value[i] ) );
const char * psz_value =
vlc_dictionary_value_for_key( p_meta->extra_meta, ppsz_allkey[i] );
tempItem.append( qfu( ppsz_allkey[i] ) + " : ");
tempItem.append( qfu( psz_value );
items.append( new QTreeWidgetItem ( extraMetaTree, tempItem ) );
free( ppsz_allkey[i] );
}
free( ppsz_allkey );
extraMetaTree->addTopLevelItems( items );
}
......
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