1
0
mirror of https://github.com/ciromattia/kcc synced 2026-06-08 15:40:29 +00:00

GUI tweaks

This commit is contained in:
Paweł Jastrzębski
2015-08-28 19:33:40 +02:00
parent d26eb7cdcd
commit c991feb9ce
7 changed files with 26 additions and 0 deletions
+6
View File
@@ -1333,6 +1333,12 @@ class KCCGUI(KCC_ui.Ui_KCC):
self.versionCheck.start()
self.contentServer.start()
self.tray.show()
# Linux hack as PyQt 5.5 not hit mainstream distributions yet
if sys.platform.startswith('linux') and StrictVersion(QtCore.qVersion()) > StrictVersion('5.4.9'):
self.JobList.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
self.JobList.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel)
MW.setWindowTitle("Kindle Comic Converter " + __version__)
MW.show()
MW.raise_()