mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +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:
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user