From 47f96a32860eaa328f756ced6df2da580a5f30e8 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Fri, 8 Sep 2017 22:57:06 -0700 Subject: [PATCH] Duh. Can't have the old names in there, now can we? --- openlp/core/threading.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openlp/core/threading.py b/openlp/core/threading.py index 3eda2e436..36dfd481f 100644 --- a/openlp/core/threading.py +++ b/openlp/core/threading.py @@ -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()