From 86cf130e6fdf90afe4c04ec22f5736d2a6aa49ef Mon Sep 17 00:00:00 2001 From: Adrien Maglo Date: Wed, 4 Aug 2010 12:48:44 +0200 Subject: [PATCH] Qt/EPG: Remove the update button. Improve the window layout. --- modules/gui/qt4/dialogs/epg.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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(); -- 2.11.4.GIT