summaryrefslogtreecommitdiffstats
path: root/module/gui/Queue.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2009-12-20 18:25:19 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2009-12-20 18:25:19 +0100
commitab5d907f48a8879f717e0c6482695ef1afe280a0 (patch)
tree1f4fa87f31439991bad46557f1cc797576e02932 /module/gui/Queue.py
parentgui toolbar with dummy actions (diff)
downloadpyload-ab5d907f48a8879f717e0c6482695ef1afe280a0.tar.xz
gui can return to connection manager, new collector
Diffstat (limited to 'module/gui/Queue.py')
-rw-r--r--module/gui/Queue.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/gui/Queue.py b/module/gui/Queue.py
index 7e63e6180..52f11fd8c 100644
--- a/module/gui/Queue.py
+++ b/module/gui/Queue.py
@@ -46,6 +46,9 @@ class Queue(QThread):
self.update()
sleep(self.interval)
+ def stop(self):
+ self.running = False
+
def update(self):
locker = QMutexLocker(self.mutex)
packs = self.connector.getPackageQueue()