1
0
mirror of https://github.com/ciromattia/kcc synced 2026-01-10 15:29:39 +00:00

Interruption fix

This commit is contained in:
Paweł Jastrzębski
2013-07-21 20:25:14 +02:00
parent 08244e7fdc
commit 4744b62f91

View File

@@ -148,8 +148,9 @@ class WorkerThread(QtCore.QThread):
argv.append("--forcecolor")
for i in range(GUI.JobList.count()):
currentJobs.append(str(GUI.JobList.item(i).text()))
GUI.JobList.clear()
for job in currentJobs:
time.sleep(1)
time.sleep(0.5)
if not self.conversionAlive:
self.clean()
return