summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/phonon/mmf/audioequalizer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/phonon/mmf/audioequalizer.cpp')
-rw-r--r--src/3rdparty/phonon/mmf/audioequalizer.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/3rdparty/phonon/mmf/audioequalizer.cpp b/src/3rdparty/phonon/mmf/audioequalizer.cpp
index ab95f30..e3b1ab3 100644
--- a/src/3rdparty/phonon/mmf/audioequalizer.cpp
+++ b/src/3rdparty/phonon/mmf/audioequalizer.cpp
@@ -40,11 +40,9 @@ AudioEqualizer::AudioEqualizer(QObject *parent, const QList<EffectParameter>& pa
void AudioEqualizer::parameterChanged(const int pid,
const QVariant &value)
{
- if (m_effect.data()) {
- const int band = pid;
- const qreal level = value.toReal();
- setBandLevel(band, level);
- }
+ const int band = pid;
+ const qreal level = value.toReal();
+ setBandLevel(band, level);
}
void AudioEqualizer::applyParameters()