From: Adrien Maglo Date: Wed, 4 Aug 2010 10:48:44 +0000 (+0200) Subject: Qt/EPG: Remove the update button. Improve the window layout. X-Git-Tag: 1.2.0-pre1~5559 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=86cf130e6fdf90afe4c04ec22f5736d2a6aa49ef;p=vlc Qt/EPG: Remove the update button. Improve the window layout. --- diff --git a/modules/gui/qt4/dialogs/epg.cpp b/modules/gui/qt4/dialogs/epg.cpp index 01143a7e38..6d66bc8ba1 100644 --- a/modules/gui/qt4/dialogs/epg.cpp +++ b/modules/gui/qt4/dialogs/epg.cpp @@ -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();