[vlc-commits] Qt: InfoPanel: unused p_intf

Francois Cartegnie git at videolan.org
Sun Aug 12 20:14:48 CEST 2012


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Aug 12 20:03:58 2012 +0200| [bcd3c7986530d0e5c07ec833a750517c760dd8fb] | committer: Francois Cartegnie

Qt: InfoPanel: unused p_intf

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

 modules/gui/qt4/components/info_panels.cpp |    4 +---
 modules/gui/qt4/components/info_panels.hpp |    3 +--
 modules/gui/qt4/dialogs/mediainfo.cpp      |    2 +-
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/modules/gui/qt4/components/info_panels.cpp b/modules/gui/qt4/components/info_panels.cpp
index 59d978f..d638efd 100644
--- a/modules/gui/qt4/components/info_panels.cpp
+++ b/modules/gui/qt4/components/info_panels.cpp
@@ -411,9 +411,7 @@ void ExtraMetaPanel::clear()
  * Third panel - Stream info
  * Display all codecs and muxers info that we could gather.
  **/
-InfoPanel::InfoPanel( QWidget *parent,
-                      intf_thread_t *_p_intf )
-                      : QWidget( parent ), p_intf( _p_intf )
+InfoPanel::InfoPanel( QWidget *parent ) : QWidget( parent )
 {
      QGridLayout *layout = new QGridLayout(this);
 
diff --git a/modules/gui/qt4/components/info_panels.hpp b/modules/gui/qt4/components/info_panels.hpp
index 77e59f8..1786b21 100644
--- a/modules/gui/qt4/components/info_panels.hpp
+++ b/modules/gui/qt4/components/info_panels.hpp
@@ -155,9 +155,8 @@ class InfoPanel: public QWidget
 {
     Q_OBJECT
 public:
-    InfoPanel( QWidget *, struct intf_thread_t * );
+    InfoPanel( QWidget * );
 private:
-    struct intf_thread_t *p_intf;
     QTreeWidget *InfoTree;
 public slots:
     void update( input_item_t * );
diff --git a/modules/gui/qt4/dialogs/mediainfo.cpp b/modules/gui/qt4/dialogs/mediainfo.cpp
index 854140f..ff07492 100644
--- a/modules/gui/qt4/dialogs/mediainfo.cpp
+++ b/modules/gui/qt4/dialogs/mediainfo.cpp
@@ -60,7 +60,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
     infoTabW->addTab( MP, qtr( "&General" ) );
     EMP = new ExtraMetaPanel( infoTabW, p_intf );
     infoTabW->addTab( EMP, qtr( "&Metadata" ) );
-    IP = new InfoPanel( infoTabW, p_intf );
+    IP = new InfoPanel( infoTabW );
     infoTabW->addTab( IP, qtr( "Co&dec" ) );
     if( isMainInputInfo )
     {



More information about the vlc-commits mailing list