[vlc-commits] qt: remove unused parameter

Rémi Denis-Courmont git at videolan.org
Wed Feb 28 19:12:13 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Feb 28 19:47:59 2018 +0200| [b46963c8406e51f026ee5ddd1f6ab7521bf057c0] | committer: Rémi Denis-Courmont

qt: remove unused parameter

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b46963c8406e51f026ee5ddd1f6ab7521bf057c0
---

 modules/gui/qt/components/simple_preferences.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/components/simple_preferences.cpp b/modules/gui/qt/components/simple_preferences.cpp
index b9eae45e0c..da2fea5ee8 100644
--- a/modules/gui/qt/components/simple_preferences.cpp
+++ b/modules/gui/qt/components/simple_preferences.cpp
@@ -125,7 +125,7 @@ static struct {
     { "wa",    "Walon" }
 };
 
-static int getDefaultAudioVolume(vlc_object_t *obj, const char *aout)
+static int getDefaultAudioVolume(const char *aout)
 {
     if (!strcmp(aout, "") || !strcmp(aout, "any"))
 #ifdef _WIN32
@@ -1002,7 +1002,7 @@ void SPrefsPanel::updateAudioOptions( int number)
     optionWidgets["spdifChB"]->setVisible( ( value == "alsa" || value == "oss" || value == "auhal" ||
                                            value == "directsound" || value == "waveout" ) );
 
-    int volume = getDefaultAudioVolume(VLC_OBJECT(p_intf), qtu(value));
+    int volume = getDefaultAudioVolume(qtu(value));
     bool save = true;
 
     if (volume >= 0)



More information about the vlc-commits mailing list