mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-05-15 05:47:15 +02:00
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
@ -478,11 +478,6 @@ class ServersModel : public QAbstractListModel {
|
|||||||
row++;
|
row++;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Destroy task when done
|
|
||||||
connect(m_currentQueryTask.get(), &ConcurrentTask::finished, this, [this]() {
|
|
||||||
m_currentQueryTask = nullptr;
|
|
||||||
});
|
|
||||||
|
|
||||||
m_currentQueryTask->start();
|
m_currentQueryTask->start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user