Commit c7f9626c authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: InputStatsPanel: remove unused p_intf

parent bcd3c798
...@@ -486,9 +486,7 @@ void InfoPanel::saveCodecsInfo() ...@@ -486,9 +486,7 @@ void InfoPanel::saveCodecsInfo()
* Fourth Panel - Stats * Fourth Panel - Stats
* Displays the Statistics for reading/streaming/encoding/displaying in a tree * Displays the Statistics for reading/streaming/encoding/displaying in a tree
*/ */
InputStatsPanel::InputStatsPanel( QWidget *parent, InputStatsPanel::InputStatsPanel( 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);
......
...@@ -117,10 +117,8 @@ class InputStatsPanel: public QWidget ...@@ -117,10 +117,8 @@ class InputStatsPanel: public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
InputStatsPanel( QWidget *, struct intf_thread_t * ); InputStatsPanel( QWidget * );
private: private:
struct intf_thread_t *p_intf;
QTreeWidget *StatsTree; QTreeWidget *StatsTree;
QTreeWidgetItem *input; QTreeWidgetItem *input;
QTreeWidgetItem *read_media_stat; QTreeWidgetItem *read_media_stat;
......
...@@ -64,7 +64,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf, ...@@ -64,7 +64,7 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
infoTabW->addTab( IP, qtr( "Co&dec" ) ); infoTabW->addTab( IP, qtr( "Co&dec" ) );
if( isMainInputInfo ) if( isMainInputInfo )
{ {
ISP = new InputStatsPanel( infoTabW, p_intf ); ISP = new InputStatsPanel( infoTabW );
infoTabW->addTab( ISP, qtr( "S&tatistics" ) ); infoTabW->addTab( ISP, qtr( "S&tatistics" ) );
} }
......
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