]> git.sesse.net Git - vlc/commitdiff
Qt/EPG: Remove the update button. Improve the window layout.
authorAdrien Maglo <magsoft@videolan.org>
Wed, 4 Aug 2010 10:48:44 +0000 (12:48 +0200)
committerAdrien Maglo <magsoft@videolan.org>
Wed, 4 Aug 2010 10:48:44 +0000 (12:48 +0200)
modules/gui/qt4/dialogs/epg.cpp

index 01143a7e385d347e3a2c5b3d87cbdcf8761ad064..6d66bc8ba1b29909752339e6142f1b26de7e2b9d 100644 (file)
@@ -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();