- remade visibility threaded

- reimplemented the thread listening for new FlatCAM process starting with args so it is no longer subclassed but using the moveToThread function
This commit is contained in:
Marius Stanciu
2019-09-06 00:16:33 +03:00
committed by Marius
parent eb7584b649
commit a138c539e4
5 changed files with 26 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ class WorkerStack(QtCore.QObject):
thread.started.connect(worker.run)
worker.task_completed.connect(self.on_task_completed)
thread.start(QtCore.QThread.NormalPriority)
thread.start(QtCore.QThread.HighPriority)
self.workers.append(worker)
self.threads.append(thread)