[vlc-commits] Qt: display the number of tracks
Jean-Baptiste Kempf
git at videolan.org
Tue Jun 12 01:49:45 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jun 11 23:04:16 2012 +0200| [dee5fcf1587654932a1f0f8548a61866164e2b70] | committer: Jean-Baptiste Kempf
Qt: display the number of tracks
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dee5fcf1587654932a1f0f8548a61866164e2b70
---
modules/gui/qt4/components/info_panels.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/gui/qt4/components/info_panels.cpp b/modules/gui/qt4/components/info_panels.cpp
index f4c439f..2e8706b 100644
--- a/modules/gui/qt4/components/info_panels.cpp
+++ b/modules/gui/qt4/components/info_panels.cpp
@@ -231,6 +231,7 @@ void MetaPanel::update( input_item_t *p_item )
UPDATE_META( Date, date_text );
UPDATE_META( TrackNum, seqnum_text );
+ UPDATE_META( TrackTotal, seqtot_text );
// UPDATE_META( Setting, setting_text );
// UPDATE_META_INT( Rating, rating_text );
@@ -280,6 +281,7 @@ void MetaPanel::saveMeta()
input_item_SetAlbum( p_input, qtu( collection_text->text() ) );
input_item_SetGenre( p_input, qtu( genre_text->text() ) );
input_item_SetTrackNum( p_input, qtu( seqnum_text->text() ) );
+ input_item_SetTrackTotal( p_input, qtu( seqtot_text->text() ) );
input_item_SetDate( p_input, qtu( date_text->text() ) );
input_item_SetCopyright( p_input, qtu( copyright_text->text() ) );
@@ -322,6 +324,7 @@ void MetaPanel::clear()
copyright_text->clear();
collection_text->clear();
seqnum_text->clear();
+ seqtot_text->clear();
description_text->clear();
date_text->clear();
language_text->clear();
More information about the vlc-commits
mailing list