Commit bcd3c798 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: InfoPanel: unused p_intf

parent a49c94e3
...@@ -411,9 +411,7 @@ void ExtraMetaPanel::clear() ...@@ -411,9 +411,7 @@ void ExtraMetaPanel::clear()
* Third panel - Stream info * Third panel - Stream info
* Display all codecs and muxers info that we could gather. * Display all codecs and muxers info that we could gather.
**/ **/
InfoPanel::InfoPanel( QWidget *parent, InfoPanel::InfoPanel( 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);
......
...@@ -155,9 +155,8 @@ class InfoPanel: public QWidget ...@@ -155,9 +155,8 @@ class InfoPanel: public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
InfoPanel( QWidget *, struct intf_thread_t * ); InfoPanel( QWidget * );
private: private:
struct intf_thread_t *p_intf;
QTreeWidget *InfoTree; QTreeWidget *InfoTree;
public slots: public slots:
void update( input_item_t * ); void update( input_item_t * );
......
...@@ -60,7 +60,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf, ...@@ -60,7 +60,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
infoTabW->addTab( MP, qtr( "&General" ) ); infoTabW->addTab( MP, qtr( "&General" ) );
EMP = new ExtraMetaPanel( infoTabW, p_intf ); EMP = new ExtraMetaPanel( infoTabW, p_intf );
infoTabW->addTab( EMP, qtr( "&Metadata" ) ); infoTabW->addTab( EMP, qtr( "&Metadata" ) );
IP = new InfoPanel( infoTabW, p_intf ); IP = new InfoPanel( infoTabW );
infoTabW->addTab( IP, qtr( "Co&dec" ) ); infoTabW->addTab( IP, qtr( "Co&dec" ) );
if( isMainInputInfo ) 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