summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/bassboost.cpp
diff options
context:
space:
mode:
authorGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-01-11 17:41:23 (GMT)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>2010-01-11 17:59:52 (GMT)
commit5a8c0ded599263446010dfc1729dcab8b2f62f0d (patch)
treed662bc84c4723fac1aa3fe27fc7321adf25062ff /src/3rdparty/phonon/mmf/bassboost.cpp
parentf42624c9f88cbbb71d6857566e00348b119d486c (diff)
downloadQt-5a8c0ded599263446010dfc1729dcab8b2f62f0d.zip
Qt-5a8c0ded599263446010dfc1729dcab8b2f62f0d.tar.gz
Qt-5a8c0ded599263446010dfc1729dcab8b2f62f0d.tar.bz2
Simplified error handling for audio effects
Task-number: QTBUG-4659 Reviewed-by: Espen Riskedal
Diffstat (limited to 'src/3rdparty/phonon/mmf/bassboost.cpp')
-rw-r--r--src/3rdparty/phonon/mmf/bassboost.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/3rdparty/phonon/mmf/bassboost.cpp b/src/3rdparty/phonon/mmf/bassboost.cpp
index a8631e0..6996ba9 100644
--- a/src/3rdparty/phonon/mmf/bassboost.cpp
+++ b/src/3rdparty/phonon/mmf/bassboost.cpp
@@ -37,11 +37,12 @@ BassBoost::BassBoost(QObject *parent, const QList<EffectParameter> &parameters)
}
-void BassBoost::parameterChanged(const EffectParameter &param,
+int BassBoost::parameterChanged(const EffectParameter &param,
const QVariant &value)
{
Q_ASSERT_X(param.id() == 0, Q_FUNC_INFO, "Invalid parameter ID");
setEnabled(value.toBool());
+ return 0;
}
//-----------------------------------------------------------------------------