diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-01-08 02:43:47 +0100 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-01-09 00:35:23 +0100 |
commit | abcd0da54c2f091a636bbb7671a8f8af531f3a45 (patch) | |
tree | a3bc81fd3f07f3f8c638aa9e25ad463a67faef23 /src/effects/effectchainslot.cpp | |
parent | 8bbce85598bd615396e04b82e70cbd4781f1dcfe (diff) |
Pass context object as third parameter to connect() call
Diffstat (limited to 'src/effects/effectchainslot.cpp')
-rw-r--r-- | src/effects/effectchainslot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/effectchainslot.cpp b/src/effects/effectchainslot.cpp index cdea996268..ce6aeb1e90 100644 --- a/src/effects/effectchainslot.cpp +++ b/src/effects/effectchainslot.cpp @@ -328,7 +328,7 @@ void EffectChainSlot::registerInputChannel(const ChannelHandleAndGroup& handle_g ChannelInfo* pInfo = new ChannelInfo(handle_group, pEnableControl); m_channelInfoByName[handle_group.name()] = pInfo; connect(pEnableControl, &ControlPushButton::valueChanged, - [this, handle_group] { slotChannelStatusChanged(handle_group.name()); }); + this, [this, handle_group] { slotChannelStatusChanged(handle_group.name()); }); } |