diff options
author | mkaay <mkaay@mkaay.de> | 2009-12-20 18:25:19 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2009-12-20 18:25:19 +0100 |
commit | ab5d907f48a8879f717e0c6482695ef1afe280a0 (patch) | |
tree | 1f4fa87f31439991bad46557f1cc797576e02932 /module/gui/Queue.py | |
parent | gui toolbar with dummy actions (diff) | |
download | pyload-ab5d907f48a8879f717e0c6482695ef1afe280a0.tar.xz |
gui can return to connection manager, new collector
Diffstat (limited to 'module/gui/Queue.py')
-rw-r--r-- | module/gui/Queue.py | 3 |
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() |