diff options
author | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-01-11 17:41:23 (GMT) |
---|---|---|
committer | Gareth Stockwell <ext-gareth.stockwell@nokia.com> | 2010-01-11 17:59:52 (GMT) |
commit | 5a8c0ded599263446010dfc1729dcab8b2f62f0d (patch) | |
tree | d662bc84c4723fac1aa3fe27fc7321adf25062ff /src/3rdparty/phonon/mmf/bassboost.cpp | |
parent | f42624c9f88cbbb71d6857566e00348b119d486c (diff) | |
download | Qt-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.cpp | 3 |
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> ¶meters) } -void BassBoost::parameterChanged(const EffectParameter ¶m, +int BassBoost::parameterChanged(const EffectParameter ¶m, const QVariant &value) { Q_ASSERT_X(param.id() == 0, Q_FUNC_INFO, "Invalid parameter ID"); setEnabled(value.toBool()); + return 0; } //----------------------------------------------------------------------------- |