do not destroy the ping ConcurrentTask directly at the end of the task
Signed-off-by: iTrooz <hey@itrooz.fr>
This commit is contained in:
parent
4e48015868
commit
f9e450ace2
1 changed files with 0 additions and 5 deletions
|
@ -478,11 +478,6 @@ class ServersModel : public QAbstractListModel {
|
|||
row++;
|
||||
}
|
||||
|
||||
// Destroy task when done
|
||||
connect(m_currentQueryTask.get(), &ConcurrentTask::finished, this, [this]() {
|
||||
m_currentQueryTask = nullptr;
|
||||
});
|
||||
|
||||
m_currentQueryTask->start();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue