about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--kcc/KCC_gui.py6
-rwxr-xr-xsetup.py5
2 files changed, 1 insertions, 10 deletions
diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py
index 13912ac..baaf2f9 100644
--- a/kcc/KCC_gui.py
+++ b/kcc/KCC_gui.py
@@ -1077,16 +1077,10 @@ class KCCGUI(KCC_ui.Ui_KCC):
         MW = KCCWindow
         GUI = self
         self.setupUi(MW)
-        # User settings will be reverted to default ones if were created in one of the following versions
-        # Empty string cover all versions before this system was implemented
-        purgeSettingsVersions = ['']
         self.icons = Icons()
         self.webContent = KCC_rc_web.WebContent()
         self.settings = QtCore.QSettings('KindleComicConverter', 'KindleComicConverter')
         self.settingsVersion = self.settings.value('settingsVersion', '', type=str)
-        if self.settingsVersion in purgeSettingsVersions:
-            QtCore.QSettings.clear(self.settings)
-            self.settingsVersion = self.settings.value('settingsVersion', '', type=str)
         self.lastPath = self.settings.value('lastPath', '', type=str)
         self.lastDevice = self.settings.value('lastDevice', 0, type=int)
         self.currentMode = self.settings.value('currentMode', 1, type=int)
diff --git a/setup.py b/setup.py
index a75f07f..2d3698d 100755
--- a/setup.py
+++ b/setup.py
@@ -26,8 +26,7 @@ if platform == "darwin":
             py2app=dict(
                 argv_emulation=True,
                 iconfile='icons/comic2ebook.icns',
-                includes=['PIL', 'sip', 'PyQt5', 'PyQt5.QtCore', 'PyQt5.QtGui', 'PyQt5.QtNetwork', 'PyQt5.QtWidgets',
-                          'PyQt5.QtPrintSupport'],
+                includes=['sip', 'PyQt5.QtPrintSupport'],
                 resources=['LICENSE.txt', 'other/qt.conf', 'other/Additional-LICENSE.txt', 'other/unrar', 'other/7za'],
                 plist=dict(
                     CFBundleName=NAME,
@@ -35,8 +34,6 @@ if platform == "darwin":
                     CFBundleGetInfoString=NAME + " " + VERSION +
                     ", written 2012-2015 by Ciro Mattia Gonano and Pawel Jastrzebski",
                     CFBundleExecutable=NAME,
-                    CFBundleIdentifier='com.github.ciromattia.kcc',
-                    CFBundleSignature='dplt',
                     CFBundleDocumentTypes=[
                         dict(
                             CFBundleTypeExtensions=['cbz', 'cbr', 'cb7', 'zip', 'rar', '7z', 'pdf'],