1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Tiny tweaks for Linux

This commit is contained in:
Paweł Jastrzębski
2014-05-17 19:12:54 +02:00
parent cb6b0e0a7b
commit 8a2ba96ac5
3 changed files with 3 additions and 2 deletions

2
kcc.py
View File

@@ -117,7 +117,7 @@ class QApplicationMessaging(QtWidgets.QApplication):
self._server.newConnection.connect(self.handleMessage) self._server.newConnection.connect(self.handleMessage)
self._server.listen(self._key) self._server.listen(self._key)
def __del__(self): def shutdown(self):
if self._memory.isAttached(): if self._memory.isAttached():
self._memory.detach() self._memory.detach()
self._server.close() self._server.close()

View File

@@ -993,6 +993,7 @@ class KCCGUI(KCC_ui.Ui_KCC):
'GammaSlider': float(self.GammaValue)*100}) 'GammaSlider': float(self.GammaValue)*100})
self.settings.sync() self.settings.sync()
self.tray.hide() self.tray.hide()
APP.shutdown()
def handleMessage(self, message): def handleMessage(self, message):
MW.raise_() MW.raise_()

View File

@@ -90,7 +90,7 @@ setup(
version=VERSION, version=VERSION,
author="Ciro Mattia Gonano, Pawel Jastrzebski", author="Ciro Mattia Gonano, Pawel Jastrzebski",
author_email="ciromattia@gmail.com, pawelj@iosphe.re", 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)", license="ISC License (ISCL)",
keywords="kindle comic mobipocket mobi cbz cbr manga", keywords="kindle comic mobipocket mobi cbz cbr manga",
url="http://github.com/ciromattia/kcc", url="http://github.com/ciromattia/kcc",