From 8a2ba96ac5ce69283b8d8e7241e305475a055118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Sat, 17 May 2014 19:12:54 +0200 Subject: [PATCH] Tiny tweaks for Linux --- kcc.py | 2 +- kcc/KCC_gui.py | 1 + setup.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kcc.py b/kcc.py index 4f40490..ffc0fbb 100755 --- a/kcc.py +++ b/kcc.py @@ -117,7 +117,7 @@ class QApplicationMessaging(QtWidgets.QApplication): self._server.newConnection.connect(self.handleMessage) self._server.listen(self._key) - def __del__(self): + def shutdown(self): if self._memory.isAttached(): self._memory.detach() self._server.close() diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py index 546ae9d..0cb8ca1 100644 --- a/kcc/KCC_gui.py +++ b/kcc/KCC_gui.py @@ -993,6 +993,7 @@ class KCCGUI(KCC_ui.Ui_KCC): 'GammaSlider': float(self.GammaValue)*100}) self.settings.sync() self.tray.hide() + APP.shutdown() def handleMessage(self, message): MW.raise_() diff --git a/setup.py b/setup.py index 8f8dc10..3041d8f 100755 --- a/setup.py +++ b/setup.py @@ -90,7 +90,7 @@ setup( version=VERSION, author="Ciro Mattia Gonano, Pawel Jastrzebski", author_email="ciromattia@gmail.com, pawelj@iosphe.re", - description="A tool to convert comics (CBR/CBZ/PDFs/image folders) to MOBI.", + description="Kindle Comic Converter", license="ISC License (ISCL)", keywords="kindle comic mobipocket mobi cbz cbr manga", url="http://github.com/ciromattia/kcc",