summaryrefslogtreecommitdiffstats
path: root/module/gui/Queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/gui/Queue.py')
-rw-r--r--module/gui/Queue.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/gui/Queue.py b/module/gui/Queue.py
index be2170309..8681d3bb1 100644
--- a/module/gui/Queue.py
+++ b/module/gui/Queue.py
@@ -298,9 +298,8 @@ class Queue(QObject):
return
remove.sort()
remove.reverse()
- parent = self
for k in remove:
- parent.takeChild(k)
+ self.takeChild(k)
class QueueFile(QTreeWidgetItem):
def __init__(self, queue, pack):