[vlc-commits] Qt: InputStatsPanel: remove unused p_intf
Francois Cartegnie
git at videolan.org
Sun Aug 12 20:14:49 CEST 2012
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Aug 12 20:06:20 2012 +0200| [c7f9626c44e96dbbcb7bf4be9bbba71e374392a5] | committer: Francois Cartegnie
Qt: InputStatsPanel: remove unused p_intf
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c7f9626c44e96dbbcb7bf4be9bbba71e374392a5
---
modules/gui/qt4/components/info_panels.cpp | 4 +---
modules/gui/qt4/components/info_panels.hpp | 4 +---
modules/gui/qt4/dialogs/mediainfo.cpp | 2 +-
3 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/modules/gui/qt4/components/info_panels.cpp b/modules/gui/qt4/components/info_panels.cpp
index d638efd..6cbeb2f 100644
--- a/modules/gui/qt4/components/info_panels.cpp
+++ b/modules/gui/qt4/components/info_panels.cpp
@@ -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);
diff --git a/modules/gui/qt4/components/info_panels.hpp b/modules/gui/qt4/components/info_panels.hpp
index 1786b21..b1968af 100644
--- a/modules/gui/qt4/components/info_panels.hpp
+++ b/modules/gui/qt4/components/info_panels.hpp
@@ -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;
diff --git a/modules/gui/qt4/dialogs/mediainfo.cpp b/modules/gui/qt4/dialogs/mediainfo.cpp
index ff07492..9f085d1 100644
--- a/modules/gui/qt4/dialogs/mediainfo.cpp
+++ b/modules/gui/qt4/dialogs/mediainfo.cpp
@@ -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" ) );
}
More information about the vlc-commits
mailing list