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:
2
kcc.py
2
kcc.py
@@ -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()
|
||||||
|
|||||||
@@ -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_()
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user