[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 11 19:23:22 CEST 2010


vlc/vlc-1.1 | branch: master | Adrien Maglo <magsoft at videolan.org> | Wed Aug  4 12:48:44 2010 +0200| [2dfa275fa3fd63e88cbae506bce0dd05bf1cdae7] | committer: Jean-Baptiste Kempf 

Qt/EPG: Remove the update button. Improve the window layout.
(cherry picked from commit 86cf130e6fdf90afe4c04ec22f5736d2a6aa49ef)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=2dfa275fa3fd63e88cbae506bce0dd05bf1cdae7
---

 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