1
0
mirror of https://github.com/ciromattia/kcc synced 2026-07-19 19:26:15 +00:00

Code cleanup

This commit is contained in:
Paweł Jastrzębski
2013-09-28 19:57:49 +02:00
parent 27e01657b1
commit 97b44a89d4
5 changed files with 63 additions and 57 deletions
+5
View File
@@ -99,6 +99,10 @@ class WorkerThread(QtCore.QThread):
def __init__(self, parent):
QtCore.QThread.__init__(self)
self.parent = parent
self.conversionAlive = False
self.errors = False
self.kindlegenErrorCode = 0
self.kindlegenError = None
def __del__(self):
self.wait()
@@ -610,6 +614,7 @@ class Ui_KCC(object):
self.versionCheck = VersionThread(self)
self.conversionAlive = False
self.needClean = True
self.GammaValue = 1.0
self.addMessage('<b>Welcome!</b>', 'info')
self.addMessage('<b>Remember:</b> All options have additional informations in tooltips.', 'info')