[vlc-commits] Qt: ExtraMetaPanel: remove unused p_intf
Francois Cartegnie
git at videolan.org
Sun Aug 12 20:14:49 CEST 2012
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Aug 12 20:10:30 2012 +0200| [55fe0126fe29bb9d6eca3ffad4ff728a81d9d84d] | committer: Francois Cartegnie
Qt: ExtraMetaPanel: remove unused p_intf
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=55fe0126fe29bb9d6eca3ffad4ff728a81d9d84d
---
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 6cbeb2f..bdce71c 100644
--- a/modules/gui/qt4/components/info_panels.cpp
+++ b/modules/gui/qt4/components/info_panels.cpp
@@ -339,9 +339,7 @@ void MetaPanel::clear()
/**
* Second Panel - Shows the extra metadata in a tree, non editable.
**/
-ExtraMetaPanel::ExtraMetaPanel( QWidget *parent,
- intf_thread_t *_p_intf )
- : QWidget( parent ), p_intf( _p_intf )
+ExtraMetaPanel::ExtraMetaPanel( 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 b1968af..390fd61 100644
--- a/modules/gui/qt4/components/info_panels.hpp
+++ b/modules/gui/qt4/components/info_panels.hpp
@@ -104,9 +104,8 @@ class ExtraMetaPanel: public QWidget
{
Q_OBJECT
public:
- ExtraMetaPanel( QWidget *, struct intf_thread_t * );
+ ExtraMetaPanel( QWidget * );
private:
- struct intf_thread_t *p_intf;
QTreeWidget *extraMetaTree;
public slots:
void update( input_item_t * );
diff --git a/modules/gui/qt4/dialogs/mediainfo.cpp b/modules/gui/qt4/dialogs/mediainfo.cpp
index 9f085d1..e086c29 100644
--- a/modules/gui/qt4/dialogs/mediainfo.cpp
+++ b/modules/gui/qt4/dialogs/mediainfo.cpp
@@ -58,7 +58,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
MP = new MetaPanel( infoTabW, p_intf );
infoTabW->addTab( MP, qtr( "&General" ) );
- EMP = new ExtraMetaPanel( infoTabW, p_intf );
+ EMP = new ExtraMetaPanel( infoTabW );
infoTabW->addTab( EMP, qtr( "&Metadata" ) );
IP = new InfoPanel( infoTabW );
infoTabW->addTab( IP, qtr( "Co&dec" ) );
More information about the vlc-commits
mailing list