Commit bcd3c798 authored by François Cartegnie's avatar François Cartegnie 🤞

Qt: InfoPanel: unused p_intf

parent a49c94e3
......@@ -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);
......
......@@ -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 * );
......
......@@ -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 )
{
......
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