/*****************************************************************************
- * infopanels.cpp : Panels for the information dialogs
+ * info_panels.cpp : Panels for the information dialogs
****************************************************************************
* Copyright (C) 2006-2007 the VideoLAN team
* $Id$
metaLayout->setVerticalSpacing( 0 );
QFont smallFont = QApplication::font();
- smallFont.setPointSize( smallFont.pointSize() - 2 );
+ smallFont.setPointSize( smallFont.pointSize() - 1 );
smallFont.setBold( true );
int line = 0; /* Counter for GridLayout */
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 );
}
art_cover->showArtUpdate( file );
+ art_cover->setItem( p_item );
}
/**
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() ) );
copyright_text->clear();
collection_text->clear();
seqnum_text->clear();
+ seqtot_text->clear();
description_text->clear();
date_text->clear();
language_text->clear();
**/
void InputStatsPanel::update( input_item_t *p_item )
{
+ if ( !isVisible() ) return;
assert( p_item );
vlc_mutex_lock( &p_item->p_stats->lock );