diff --git a/ext/libstrawberry-common/core/workerpool.h b/ext/libstrawberry-common/core/workerpool.h index 9c0321050..5353e74ca 100644 --- a/ext/libstrawberry-common/core/workerpool.h +++ b/ext/libstrawberry-common/core/workerpool.h @@ -240,10 +240,15 @@ void WorkerPool::DoStart() { const QString executable_path = path_prefix + "/" + executable_name_; if (QFile::exists(executable_path)) { executable_path_ = executable_path; + qLog(Debug) << "Using worker" << executable_name_ << "from" << path_prefix; break; } } + if (executable_path_ == executable_name_) { + qLog(Debug) << "Using worker" << executable_name_; + } + // Start all the workers for (int i = 0; i < worker_count_; ++i) { Worker worker;