Browse Source

Remove ChannelAPI reference, as no longer the case

chirpmodem-v8.0.0
Jon Beniston 6 years ago
parent
commit
3adea2fd70
  1. 3
      plugins/feature/afc/afc.cpp

3
plugins/feature/afc/afc.cpp

@ -135,8 +135,7 @@ bool AFC::handleMessage(const Message& cmd) @@ -135,8 +135,7 @@ bool AFC::handleMessage(const Message& cmd)
qDebug() << "AFC::handleMessage: MessagePipesCommon::MsgReportChannelDeleted";
MessagePipesCommon::MsgReportChannelDeleted& report = (MessagePipesCommon::MsgReportChannelDeleted&) cmd;
const MessagePipesCommon::ChannelRegistrationKey& channelKey = report.getChannelRegistrationKey();
const ChannelAPI *channel = channelKey.m_key;
MainCore::instance()->getMessagePipes().unregisterChannelToFeature(channel, this, "settings");
MainCore::instance()->getMessagePipes().unregisterChannelToFeature(channelKey.m_key, this, "settings");
return true;
}

Loading…
Cancel
Save