- porting to PyQt6

This commit is contained in:
Marius Stanciu
2021-08-04 18:34:24 +03:00
parent c3d5fccb80
commit 53272da959
136 changed files with 1732 additions and 1715 deletions

View File

@@ -1,4 +1,4 @@
from PyQt5 import QtCore
from PyQt6 import QtCore
from appWorker import Worker
@@ -24,7 +24,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.Priority.NormalPriority)
self.workers.append(worker)
self.threads.append(thread)