Skip to content

Commit

Permalink
Removed obselete slots for name and description
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitij98 committed Jun 10, 2018
1 parent 28b855d commit 1da9dc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
9 changes: 2 additions & 7 deletions src/effects/effectchainslot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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) {
Expand Down Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion src/effects/effectchainslot.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1da9dc2

Please sign in to comment.