Commit 2dfa275f authored by Adrien Maglo's avatar Adrien Maglo Committed by Jean-Baptiste Kempf

Qt/EPG: Remove the update button. Improve the window layout.

(cherry picked from commit 86cf130e)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 30c33646
......@@ -73,12 +73,14 @@ EpgDialog::EpgDialog( intf_thread_t *_p_intf ): QVLCFrame( _p_intf )
CONNECT( epg, itemSelectionChanged( EPGEvent *), this, showEvent( EPGEvent *) );
CONNECT( THEMIM->getIM(), epgChanged(), this, updateInfos() );
QPushButton *update = new QPushButton( qtr( "Update" ) ); //Temporary to test
layout->addWidget( update, 0, Qt::AlignRight );
#if 0
QPushButton *update = new QPushButton( qtr( "Update" ) ); // Temporary to test
boxLayout->addWidget( update, 0, Qt::AlignRight );
BUTTONACT( update, updateInfos() );
#endif
QPushButton *close = new QPushButton( qtr( "&Close" ) );
layout->addWidget( close, 0, Qt::AlignRight );
boxLayout->addWidget( close, 0, Qt::AlignRight );
BUTTONACT( close, close() );
updateInfos();
......
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