diff options
author | Paweł Jastrzębski <pawelj@iosphe.re> | 2017-10-13 09:12:17 +0200 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@iosphe.re> | 2017-10-13 09:12:17 +0200 |
commit | 458c28281f79ca8c9c446167672972628d5286bf (patch) | |
tree | dd3eadf6769225b00214aadfd4b1cbc8f4e3d1c8 /kindlecomicconverter/KCC_gui.py | |
parent | Updated build enviroment (diff) | |
download | kcc-458c28281f79ca8c9c446167672972628d5286bf.tar.gz kcc-458c28281f79ca8c9c446167672972628d5286bf.tar.bz2 kcc-458c28281f79ca8c9c446167672972628d5286bf.zip |
Added Oasis 2 profile (close #249)
Diffstat (limited to 'kindlecomicconverter/KCC_gui.py')
-rw-r--r-- | kindlecomicconverter/KCC_gui.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kindlecomicconverter/KCC_gui.py b/kindlecomicconverter/KCC_gui.py index c2749ff..a97ac7b 100644 --- a/kindlecomicconverter/KCC_gui.py +++ b/kindlecomicconverter/KCC_gui.py @@ -618,7 +618,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow): def togglequalityBox(self, value): profile = GUI.profiles[str(GUI.deviceBox.currentText())] if value == 2: - if profile['Label'] in ['KV']: + if profile['Label'] in ['KV', 'KO']: self.addMessage('This option is intended for older Kindle models.', 'warning') self.addMessage('It will not increase quality on a device with 300 ppi screen.', 'warning') GUI.upscaleBox.setEnabled(False) @@ -918,6 +918,8 @@ class KCCGUI(KCC_ui.Ui_mainWindow): MW.resize(500, 500) self.profiles = { + "Kindle Oasis 2": {'PVOptions': True, 'ForceExpert': False, 'DefaultFormat': 0, + 'DefaultUpscale': True, 'Label': 'KO'}, "Kindle Oasis": {'PVOptions': True, 'ForceExpert': False, 'DefaultFormat': 0, 'DefaultUpscale': True, 'Label': 'KV'}, "Kindle Voyage": {'PVOptions': True, 'ForceExpert': False, 'DefaultFormat': 0, @@ -956,6 +958,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow): 'DefaultUpscale': False, 'Label': 'K34'}, } profilesGUI = [ + "Kindle Oasis 2", "Kindle Oasis", "Kindle Voyage", "Kindle PW 3", |