summaryrefslogtreecommitdiffstats
path: root/src/engine/enginevumeter.cpp
diff options
context:
space:
mode:
authorMax Linke <kain88@mixxx.org>2014-11-07 16:11:32 +0100
committerMax Linke <kain88@mixxx.org>2014-11-07 16:48:47 +0100
commit486e8ca39ac59a763485114d7ca7eaa343eb3af0 (patch)
tree69d65d5b4ee3e5922ec97f93b171484cd6774ed3 /src/engine/enginevumeter.cpp
parent01982b38f8a9929e77cdcf9ec66e041f96624ba9 (diff)
Use QString instead of char* in Constructor
This should replace all appearances of `const char*` with a `QString` in all classes contained in src/engine. This thing felt like fighting against a hydra -.-
Diffstat (limited to 'src/engine/enginevumeter.cpp')
-rw-r--r--src/engine/enginevumeter.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/engine/enginevumeter.cpp b/src/engine/enginevumeter.cpp
index 088e480765..169bf1587e 100644
--- a/src/engine/enginevumeter.cpp
+++ b/src/engine/enginevumeter.cpp
@@ -20,7 +20,7 @@
#include "sampleutil.h"
#include "util/math.h"
-EngineVuMeter::EngineVuMeter(const char* group) {
+EngineVuMeter::EngineVuMeter(QString group) {
// The VUmeter widget is controlled via a controlpotmeter, which means
// that it should react on the setValue(int) signal.
m_ctrlVuMeter = new ControlPotmeter(ConfigKey(group, "VuMeter"), 0., 1.);
@@ -29,8 +29,10 @@ EngineVuMeter::EngineVuMeter(const char* group) {
// right channel VU meter
m_ctrlVuMeterR = new ControlPotmeter(ConfigKey(group, "VuMeterL"), 0., 1.);
- // Used controlpotmeter as the example used it :/ perhaps someone with more knowledge could use something more suitable...
- m_ctrlPeakIndicator = new ControlPotmeter(ConfigKey(group, "PeakIndicator"), 0., 1.);
+ // Used controlpotmeter as the example used it :/ perhaps someone with more
+ // knowledge could use something more suitable...
+ m_ctrlPeakIndicator = new ControlPotmeter(ConfigKey(group, "PeakIndicator"),
+ 0., 1.);
m_pSampleRate = new ControlObjectSlave("[Master]", "samplerate", this);