| 172 | } |
| 173 | |
| 174 | void QuickOpenWidget::setAlternativeSearchField(QLineEdit* alterantiveSearchField) |
| 175 | { |
| 176 | ui.searchLine = alterantiveSearchField; |
| 177 | ui.searchLine->installEventFilter(this); |
| 178 | connect(ui.searchLine, &QLineEdit::textChanged, this, &QuickOpenWidget::textChanged); |
| 179 | } |
| 180 | |
| 181 | void QuickOpenWidget::showSearchField(bool b) |
| 182 | { |