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