| 153 | } |
| 154 | |
| 155 | void SearchComboBox::changeEvent(QEvent *event) |
| 156 | { |
| 157 | if (event->type() == QEvent::ActivationChange){ |
| 158 | if (this->isActiveWindow() == false){ |
| 159 | this->close(); |
| 160 | this->deleteLater(); |
| 161 | return; |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | QWidget::changeEvent(event); |
| 166 | } |
| 167 | |
| 168 | void SearchComboBox::OnItemClick(void *sender, void *data_handle) |
| 169 | { |
nothing calls this directly
no test coverage detected