Commit 55fe0126 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: ExtraMetaPanel: remove unused p_intf

parent c7f9626c
...@@ -339,9 +339,7 @@ void MetaPanel::clear() ...@@ -339,9 +339,7 @@ void MetaPanel::clear()
/** /**
* Second Panel - Shows the extra metadata in a tree, non editable. * Second Panel - Shows the extra metadata in a tree, non editable.
**/ **/
ExtraMetaPanel::ExtraMetaPanel( QWidget *parent, ExtraMetaPanel::ExtraMetaPanel( QWidget *parent ) : QWidget( parent )
intf_thread_t *_p_intf )
: QWidget( parent ), p_intf( _p_intf )
{ {
QGridLayout *layout = new QGridLayout(this); QGridLayout *layout = new QGridLayout(this);
......
...@@ -104,9 +104,8 @@ class ExtraMetaPanel: public QWidget ...@@ -104,9 +104,8 @@ class ExtraMetaPanel: public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
ExtraMetaPanel( QWidget *, struct intf_thread_t * ); ExtraMetaPanel( QWidget * );
private: private:
struct intf_thread_t *p_intf;
QTreeWidget *extraMetaTree; QTreeWidget *extraMetaTree;
public slots: public slots:
void update( input_item_t * ); void update( input_item_t * );
......
...@@ -58,7 +58,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf, ...@@ -58,7 +58,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
MP = new MetaPanel( infoTabW, p_intf ); MP = new MetaPanel( infoTabW, p_intf );
infoTabW->addTab( MP, qtr( "&General" ) ); infoTabW->addTab( MP, qtr( "&General" ) );
EMP = new ExtraMetaPanel( infoTabW, p_intf ); EMP = new ExtraMetaPanel( infoTabW );
infoTabW->addTab( EMP, qtr( "&Metadata" ) ); infoTabW->addTab( EMP, qtr( "&Metadata" ) );
IP = new InfoPanel( infoTabW ); IP = new InfoPanel( infoTabW );
infoTabW->addTab( IP, qtr( "Co&dec" ) ); infoTabW->addTab( IP, qtr( "Co&dec" ) );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment