Set the max size of the DeviceManager thread pool to 1.
This commit is contained in:
parent
58a3a6831a
commit
20b11961f9
|
@ -176,6 +176,7 @@ DeviceManager::DeviceManager(Application* app, QObject *parent)
|
|||
app_(app),
|
||||
not_connected_overlay_(IconLoader::Load("edit-delete"))
|
||||
{
|
||||
thread_pool_.setMaxThreadCount(1);
|
||||
connect(app_->task_manager(), SIGNAL(TasksChanged()), SLOT(TasksChanged()));
|
||||
|
||||
// Create the backend in the database thread
|
||||
|
|
Loading…
Reference in New Issue