Commit f39cf066 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - remove trailing spaces.

parent 4fffc9ab
...@@ -51,7 +51,7 @@ MetaPanel::MetaPanel( QWidget *parent, ...@@ -51,7 +51,7 @@ MetaPanel::MetaPanel( QWidget *parent,
: QWidget( parent ), p_intf( _p_intf ) : QWidget( parent ), p_intf( _p_intf )
{ {
QGridLayout *metaLayout = new QGridLayout( this ); QGridLayout *metaLayout = new QGridLayout( this );
int line = 0; /* Counter for GridLayout */ int line = 0; /* Counter for GridLayout */
p_input = NULL; p_input = NULL;
...@@ -60,7 +60,7 @@ MetaPanel::MetaPanel( QWidget *parent, ...@@ -60,7 +60,7 @@ MetaPanel::MetaPanel( QWidget *parent,
widget = new QLineEdit; \ widget = new QLineEdit; \
metaLayout->addWidget( widget, line, 1, 1, 9 ); \ metaLayout->addWidget( widget, line, 1, 1, 9 ); \
line++; } line++; }
/* Title, artist and album*/ /* Title, artist and album*/
ADD_META( VLC_META_TITLE, title_text ); /* OK */ ADD_META( VLC_META_TITLE, title_text ); /* OK */
ADD_META( VLC_META_ARTIST, artist_text ); /* OK */ ADD_META( VLC_META_ARTIST, artist_text ); /* OK */
...@@ -110,7 +110,7 @@ MetaPanel::MetaPanel( QWidget *parent, ...@@ -110,7 +110,7 @@ MetaPanel::MetaPanel( QWidget *parent,
art_cover->setScaledContents( true ); art_cover->setScaledContents( true );
art_cover->setPixmap( QPixmap( ":/noart.png" ) ); art_cover->setPixmap( QPixmap( ":/noart.png" ) );
metaLayout->addWidget( art_cover, line, 8, 4, 2 ); metaLayout->addWidget( art_cover, line, 8, 4, 2 );
/* Settings is unused */ /* Settings is unused */
/* l->addWidget( new QLabel( qtr( VLC_META_SETTING ) + " :" ), line, 5 ); /* l->addWidget( new QLabel( qtr( VLC_META_SETTING ) + " :" ), line, 5 );
setting_text = new QLineEdit; setting_text = new QLineEdit;
...@@ -122,7 +122,7 @@ MetaPanel::MetaPanel( QWidget *parent, ...@@ -122,7 +122,7 @@ MetaPanel::MetaPanel( QWidget *parent,
widget = new QLineEdit; \ widget = new QLineEdit; \
metaLayout->addWidget( widget, line, 1, 1, 7 ); \ metaLayout->addWidget( widget, line, 1, 1, 7 ); \
line++; } line++; }
/* Now Playing - Useful for live feeds (HTTP, DVB, ETC...) */ /* Now Playing - Useful for live feeds (HTTP, DVB, ETC...) */
ADD_META_2( VLC_META_NOW_PLAYING, nowplaying_text ); ADD_META_2( VLC_META_NOW_PLAYING, nowplaying_text );
nowplaying_text->setReadOnly( true ); nowplaying_text->setReadOnly( true );
...@@ -144,7 +144,7 @@ MetaPanel::MetaPanel( QWidget *parent, ...@@ -144,7 +144,7 @@ MetaPanel::MetaPanel( QWidget *parent,
CONNECT( collection_text, textEdited( QString ), this, enterEditMode() ); CONNECT( collection_text, textEdited( QString ), this, enterEditMode() );
CONNECT( genre_text, textEdited( QString ), this, enterEditMode() ); CONNECT( genre_text, textEdited( QString ), this, enterEditMode() );
CONNECT( seqnum_text, textEdited( QString ), this, enterEditMode() ); CONNECT( seqnum_text, textEdited( QString ), this, enterEditMode() );
CONNECT( date_text, textEdited( QString ), this, enterEditMode() ); CONNECT( date_text, textEdited( QString ), this, enterEditMode() );
CONNECT( description_text, textEdited( QString ), this, enterEditMode() ); CONNECT( description_text, textEdited( QString ), this, enterEditMode() );
/* CONNECT( rating_text, valueChanged( QString ), this, enterEditMode( QString ) );*/ /* CONNECT( rating_text, valueChanged( QString ), this, enterEditMode( QString ) );*/
...@@ -162,7 +162,7 @@ void MetaPanel::update( input_item_t *p_item ) ...@@ -162,7 +162,7 @@ void MetaPanel::update( input_item_t *p_item )
{ {
/* Don't update if you are in edit mode */ /* Don't update if you are in edit mode */
if( b_inEditMode ) return; if( b_inEditMode ) return;
char *psz_meta; char *psz_meta;
#define UPDATE_META( meta, widget ) { \ #define UPDATE_META( meta, widget ) { \
psz_meta = input_item_Get##meta( p_item ); \ psz_meta = input_item_Get##meta( p_item ); \
...@@ -287,7 +287,7 @@ void MetaPanel::saveMeta() ...@@ -287,7 +287,7 @@ void MetaPanel::saveMeta()
module_Unneed( p_playlist, p_mod ); module_Unneed( p_playlist, p_mod );
PL_UNLOCK; PL_UNLOCK;
pl_Release( p_playlist ); pl_Release( p_playlist );
/* Reset the status of the mode. No need to emit any signal */ /* Reset the status of the mode. No need to emit any signal */
b_inEditMode = false; b_inEditMode = false;
} }
......
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