[vlc-commits] commit: Qt/EPG: Remove the update button. Improve the window layout. ( Adrien Maglo )
git at videolan.org
git at videolan.org
Wed Aug 4 12:48:59 CEST 2010
vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Wed Aug 4 12:48:44 2010 +0200| [86cf130e6fdf90afe4c04ec22f5736d2a6aa49ef] | committer: Adrien Maglo
Qt/EPG: Remove the update button. Improve the window layout.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=86cf130e6fdf90afe4c04ec22f5736d2a6aa49ef
---
modules/gui/qt4/dialogs/epg.cpp | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/dialogs/epg.cpp b/modules/gui/qt4/dialogs/epg.cpp
index 01143a7..6d66bc8 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();
More information about the vlc-commits
mailing list