From 20b11961f9feb08c6e598cc84c9f65d94bc5253e Mon Sep 17 00:00:00 2001 From: John Maguire Date: Fri, 29 Jun 2012 16:58:30 +0200 Subject: [PATCH] Set the max size of the DeviceManager thread pool to 1. --- src/devices/devicemanager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devices/devicemanager.cpp b/src/devices/devicemanager.cpp index 2591e57ff..2cb40bdfd 100644 --- a/src/devices/devicemanager.cpp +++ b/src/devices/devicemanager.cpp @@ -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