diff options
author | mkaay <mkaay@mkaay.de> | 2009-12-29 16:50:13 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2009-12-29 16:50:13 +0100 |
commit | fa9cce4987da585f5bf21274cfbe5f046f46f703 (patch) | |
tree | 94fa0f16d8b72b09c1e59d27d2bb70aeed3c09ff /module/gui/Collector.py | |
parent | UploadedTo indirect download fix (diff) | |
download | pyload-fa9cce4987da585f5bf21274cfbe5f046f46f703.tar.xz |
: Bitte gib eine Versions-Meldung ein. Zeilen beginnend mit 'HG:' werden entfernt.
Diffstat (limited to 'module/gui/Collector.py')
-rw-r--r-- | module/gui/Collector.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/module/gui/Collector.py b/module/gui/Collector.py index 8b421001e..356ab36ec 100644 --- a/module/gui/Collector.py +++ b/module/gui/Collector.py @@ -112,6 +112,15 @@ class PackageCollector(QThread): remove.reverse() for k in remove: self.rootItem.takeChild(k) + for pack in ItemIterator(self.rootItem): + if pack.getPackData()["id"] == "fixed": + return + item = self.PackageCollectorPack(self) + item.setPackData({"id":"fixed"}) + item.setData(0, Qt.DisplayRole, QVariant("Single Links")) + item.setFlags(Qt.ItemIsEnabled | Qt.ItemIsSelectable) + self.rootItem.addChild(item) + self.linkCollector = item def pauseItemUpdate(self, pid, pause=True): locker = QMutexLocker(self.mutex) |