Remove unused QThread.__del__ method.

This commit is contained in:
Bastian Kleineidam 2011-04-28 20:41:44 +02:00
parent af1a702a8e
commit d7186bc904

View file

@ -24,15 +24,9 @@ class CheckerThread (QtCore.QThread):
def __init__ (self, parent=None):
"""Reset check variables."""
super(CheckerThread, self).__init__(parent)
self.exiting = False
self.aggregate = None
self.progress = None
def __del__(self):
"""Stop thread."""
self.exiting = True
self.wait()
def check (self, aggregate, progress):
"""Set check variables and start the thread."""
self.aggregate = aggregate