Commit 55fe0126 authored by François Cartegnie's avatar François Cartegnie 🤞

Qt: ExtraMetaPanel: remove unused p_intf

parent c7f9626c
......@@ -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);
......
......@@ -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 * );
......
......@@ -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" ) );
......
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