fix(RD): separate search and versions/info tasks
This allows us to check whether a search request is already on-going, in which case we don't need to make another one (and shouldn't). Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
38e20eb148
commit
563fe8d515
4 changed files with 49 additions and 15 deletions
|
@ -101,7 +101,7 @@ void ModPage::triggerSearch()
|
|||
}
|
||||
|
||||
static_cast<ModModel*>(m_model)->searchWithTerm(getSearchTerm(), m_ui->sortByBox->currentData().toUInt(), changed);
|
||||
m_fetch_progress.watch(&m_model->activeJob());
|
||||
m_fetch_progress.watch(m_model->activeSearchJob().get());
|
||||
}
|
||||
|
||||
QMap<QString, QString> ModPage::urlHandlers() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue