Duh. Can't have the old names in there, now can we?

This commit is contained in:
Raoul Snyman 2017-09-08 22:57:06 -07:00
parent 1e06f472c6
commit 47f96a3286
1 changed files with 5 additions and 5 deletions

View File

@ -47,9 +47,9 @@ def run_thread(parent, worker, prefix='', auto_start=True):
# Move the worker into the thread's context
worker.moveToThread(thread)
# Connect slots and signals
parent.version_thread.started.connect(parent.version_worker.start)
parent.version_worker.quit.connect(parent.version_thread.quit)
parent.version_worker.quit.connect(parent.version_worker.deleteLater)
parent.version_thread.finished.connect(parent.version_thread.deleteLater)
thread.started.connect(worker.start)
worker.quit.connect(thread.quit)
worker.quit.connect(worker.deleteLater)
thread.finished.connect(thread.deleteLater)
if auto_start:
parent.version_thread.start()
thread.start()