From 1da9dc2a691ab6746e60c3b2296f9e0347c4cc4c Mon Sep 17 00:00:00 2001 From: kshitij98 Date: Sun, 10 Jun 2018 22:34:36 +0530 Subject: [PATCH] Removed obselete slots for name and description --- src/effects/effectchainslot.cpp | 9 ++------- src/effects/effectchainslot.h | 1 - 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/effects/effectchainslot.cpp b/src/effects/effectchainslot.cpp index 845295a063e..efa70f62e63 100644 --- a/src/effects/effectchainslot.cpp +++ b/src/effects/effectchainslot.cpp @@ -193,8 +193,7 @@ const QString& EffectChainSlot::name() const { void EffectChainSlot::setName(const QString& name) { m_name = name; - // emit(nameChanged(name)); - slotChainNameChanged(name); + emit(updated()); } QString EffectChainSlot::description() const { @@ -203,7 +202,7 @@ QString EffectChainSlot::description() const { void EffectChainSlot::setDescription(const QString& description) { m_description = description; - // emit(descriptionChanged(description)); + emit(updated()); } void EffectChainSlot::enableForInputChannel(const ChannelHandleAndGroup& handle_group) { @@ -418,10 +417,6 @@ void EffectChainSlot::setSuperParameterDefaultValue(double value) { m_pControlChainSuperParameter->setDefaultValue(value); } -void EffectChainSlot::slotChainNameChanged(const QString&) { - emit(updated()); -} - void EffectChainSlot::slotChainUpdated(double v) { Q_UNUSED(v); sendParameterUpdate(); diff --git a/src/effects/effectchainslot.h b/src/effects/effectchainslot.h index 1176633e6c6..d9aed21a442 100644 --- a/src/effects/effectchainslot.h +++ b/src/effects/effectchainslot.h @@ -159,7 +159,6 @@ class EffectChainSlot : public QObject { private slots: void slotChainUpdated(double v); void slotChainEffectChanged(unsigned int effectSlotNumber, bool shouldEmit=true); - void slotChainNameChanged(const QString& name); void slotChainChannelStatusChanged(const QString& group, bool enabled); void slotEffectLoaded(EffectPointer pEffect, unsigned int slotNumber);