[vlc-commits] Qt: expose disc number in the extra info panel
Jean-Baptiste Kempf
git at videolan.org
Fri Oct 16 18:12:48 CEST 2015
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Oct 16 18:12:06 2015 +0200| [5cf3ca4819e8df31657702ff274e3c3272a1cddc] | committer: Jean-Baptiste Kempf
Qt: expose disc number in the extra info panel
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5cf3ca4819e8df31657702ff274e3c3272a1cddc
---
modules/gui/qt4/components/info_panels.cpp | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/modules/gui/qt4/components/info_panels.cpp b/modules/gui/qt4/components/info_panels.cpp
index 84c997e..46ee386 100644
--- a/modules/gui/qt4/components/info_panels.cpp
+++ b/modules/gui/qt4/components/info_panels.cpp
@@ -422,6 +422,15 @@ void ExtraMetaPanel::update( input_item_t *p_item )
return;
}
+ const char *psz_disc_number = vlc_meta_Get( p_meta, vlc_meta_DiscNumber);
+ if( psz_disc_number )
+ {
+ QStringList tempItem;
+ tempItem.append( VLC_META_DISCNUMBER );
+ tempItem.append( qfu( psz_disc_number ) );
+ items.append( new QTreeWidgetItem ( extraMetaTree, tempItem ) );
+ }
+
char ** ppsz_allkey = vlc_meta_CopyExtraNames( p_meta);
for( int i = 0; ppsz_allkey[i] ; i++ )
More information about the vlc-commits
mailing list