[vlc-commits] Qt: compressor: remove useless indirect slot
Francois Cartegnie
git at videolan.org
Wed Dec 26 16:34:59 CET 2012
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Dec 26 16:15:37 2012 +0100| [68c78f8bc2d19cb4c029fa96488fc21270238cb4] | committer: Francois Cartegnie
Qt: compressor: remove useless indirect slot
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=68c78f8bc2d19cb4c029fa96488fc21270238cb4
---
modules/gui/qt4/components/extended_panels.cpp | 7 +------
modules/gui/qt4/components/extended_panels.hpp | 3 +--
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/modules/gui/qt4/components/extended_panels.cpp b/modules/gui/qt4/components/extended_panels.cpp
index 9bb5a88..ca13a08 100644
--- a/modules/gui/qt4/components/extended_panels.cpp
+++ b/modules/gui/qt4/components/extended_panels.cpp
@@ -1293,7 +1293,7 @@ Compressor::Compressor( intf_thread_t *_p_intf, QWidget *_parent )
}
for( int i = 0; i < NUM_CP_CTRL; i++ )
- CONNECT( compCtrl[i], valueChanged( int ), this, setInitValues() );
+ CONNECT( compCtrl[i], valueChanged( int ), this, setValues() );
BUTTONACT( enableCheck, enable() );
@@ -1359,11 +1359,6 @@ void Compressor::updateSliders( float * p_controlVars )
}
}
-void Compressor::setInitValues()
-{
- setValues();
-}
-
void Compressor::setValues()
{
vlc_object_t *p_aout = (vlc_object_t *)THEMIM->getAout();
diff --git a/modules/gui/qt4/components/extended_panels.hpp b/modules/gui/qt4/components/extended_panels.hpp
index 84950b5..6679ee6 100644
--- a/modules/gui/qt4/components/extended_panels.hpp
+++ b/modules/gui/qt4/components/extended_panels.hpp
@@ -135,12 +135,11 @@ private:
void addCallbacks( vlc_object_t * );
void updateSliders(float *);
- void setValues();
private slots:
void enable(bool);
void enable();
- void setInitValues();
+ void setValues();
};
class Spatializer: public QWidget
More information about the vlc-commits
mailing list