| 46 | } |
| 47 | |
| 48 | void FilterLineEdit::updateCloseButton(const QString& filter_text) |
| 49 | { |
| 50 | if(filter_text.isEmpty() || filter_text == tr("Filter")) { |
| 51 | clearButton->setVisible(false); |
| 52 | } else { |
| 53 | clearButton->setVisible(true); |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | void FilterLineEdit::focusInEvent(QFocusEvent *e) |
| 58 | { |
nothing calls this directly
no outgoing calls
no test coverage detected