1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 07:36:48 +02:00

Fixed minor things

This commit is contained in:
dridri
2013-07-10 01:48:04 +00:00
committed by Uwe L. Korn
parent 52abcc29de
commit db7b2a310f
2 changed files with 2 additions and 3 deletions

View File

@@ -1389,10 +1389,9 @@ AudioEngine::initEqualizer()
Q_D( AudioEngine );
QList<Phonon::EffectDescription> effectDescriptions = Phonon::BackendCapabilities::availableAudioEffects();
d->audioEffect = NULL;
foreach(Phonon::EffectDescription effectDesc, effectDescriptions)
{
if(effectDesc.name().contains("Eq") || effectDesc.name().contains("eq"))
if(effectDesc.name().toLower().contains("eq"))
{
d->audioEffect = new Phonon::Effect(effectDesc);
d->audioPath.insertEffect(d->audioEffect);

View File

@@ -44,7 +44,7 @@ private:
Phonon::MediaObject* mediaObject;
Phonon::AudioOutput* audioOutput;
Phonon::Path audioPath;
Phonon::Effect* audioEffect;
Phonon::Effect* audioEffect;
Phonon::Path audioPath;
Phonon::Effect* audioEffect;