aboutsummaryrefslogtreecommitdiffstats
path: root/app/mixer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'app/mixer.cpp')
-rw-r--r--app/mixer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/mixer.cpp b/app/mixer.cpp
index f231b6d..ccb16d6 100644
--- a/app/mixer.cpp
+++ b/app/mixer.cpp
@@ -83,7 +83,7 @@ void Mixer::getVolume(const QString& name)
{
// TODO: Success, update the slider
qDebug() << "Volume changed: " << v;
- int newVolume = v.toObject()["response"].toObject()["response"].toObject()["volnew"].toInt();
+ int newVolume = v.toObject()["response"].toObject()["volnew"].toInt();
auto currentVolume = volumes_.find(name);
if (currentVolume != volumes_.end() && *currentVolume == newVolume)
return;