| 1020 | } |
| 1021 | |
| 1022 | void ProtocolDock::OnItemClick(void *sender, void *data_handle) |
| 1023 | { |
| 1024 | (void)sender; |
| 1025 | |
| 1026 | if (data_handle != NULL){ |
| 1027 | DecoderInfoItem *info = (DecoderInfoItem*)data_handle; |
| 1028 | srd_decoder *dec = (srd_decoder *)(info->_data_handle); |
| 1029 | this->_pro_keyword_edit->SetInputText(QString(dec->name)); |
| 1030 | _selected_protocol_id = QString(dec->id); |
| 1031 | this->on_add_protocol(); |
| 1032 | } |
| 1033 | } |
| 1034 | |
| 1035 | void ProtocolDock::reset_view() |
| 1036 | { |
nothing calls this directly
no test coverage detected