| 89 | } |
| 90 | |
| 91 | void ModPage::triggerSearch() |
| 92 | { |
| 93 | auto changed = m_filter_widget->changed(); |
| 94 | m_filter = m_filter_widget->getFilter(); |
| 95 | m_ui->packView->selectionModel()->setCurrentIndex({}, QItemSelectionModel::SelectionFlag::ClearAndSelect); |
| 96 | m_ui->packView->clearSelection(); |
| 97 | m_ui->packDescription->clear(); |
| 98 | m_ui->versionSelectionBox->clear(); |
| 99 | updateSelectionButton(); |
| 100 | |
| 101 | static_cast<ModModel*>(m_model)->searchWithTerm(getSearchTerm(), m_ui->sortByBox->currentData().toUInt(), changed); |
| 102 | m_fetchProgress.watch(m_model->activeSearchJob().get()); |
| 103 | } |
| 104 | |
| 105 | QMap<QString, QString> ModPage::urlHandlers() const |
| 106 | { |
no test coverage detected