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:
@@ -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);
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user