[vlc-commits] qt: Privatize VOLUME_MAX

Hugo Beauzée-Luyssen git at videolan.org
Tue Apr 25 11:00:21 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Apr 24 16:33:55 2017 +0200| [b8dbefa6cb336f3535eb1b2f2c209faa2f8a50de] | committer: Hugo Beauzée-Luyssen

qt: Privatize VOLUME_MAX

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

 modules/gui/qt/components/controller_widget.cpp | 2 ++
 modules/gui/qt/components/controller_widget.hpp | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/gui/qt/components/controller_widget.cpp b/modules/gui/qt/components/controller_widget.cpp
index 5cfb575621..07e5e9fbb4 100644
--- a/modules/gui/qt/components/controller_widget.cpp
+++ b/modules/gui/qt/components/controller_widget.cpp
@@ -39,6 +39,8 @@
 #include <QWidgetAction>
 #include <QMouseEvent>
 
+#define VOLUME_MAX 125
+
 SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
                           bool b_shiny, bool b_special )
                          : QWidget( _parent ), p_intf( _p_intf),
diff --git a/modules/gui/qt/components/controller_widget.hpp b/modules/gui/qt/components/controller_widget.hpp
index ca7dde3549..5709bb651a 100644
--- a/modules/gui/qt/components/controller_widget.hpp
+++ b/modules/gui/qt/components/controller_widget.hpp
@@ -90,7 +90,6 @@ private:
     intf_thread_t* p_intf;
 };
 
-#define VOLUME_MAX 125
 class SoundWidget : public QWidget
 {
     Q_OBJECT



More information about the vlc-commits mailing list