! *\brief called when will topic combobox's current item is changed in the will settings widget * sets the will topic for the m_mqttClient * * \param topic the current text of cbWillTopic */
| 576 | * \param topic the current text of cbWillTopic |
| 577 | */ |
| 578 | void LiveDataDock::willTopicChanged(const QString& topic) { |
| 579 | if (m_mqttClient->willTopic() != topic) |
| 580 | m_mqttClient->clearLastMessage(); |
| 581 | |
| 582 | m_mqttClient->setWillTopic(topic); |
| 583 | } |
| 584 | |
| 585 | /*! |
| 586 | *\brief called when the selected will message type is changed in the will settings widget |
no test coverage detected