1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 09:46:25 +00:00

don't delete/dedupe covers, just change initial alignment (#784)

* don't delete covers, just change initial alignment

* replace dedupecover with spreadshift
This commit is contained in:
Alex Xu
2024-12-19 09:06:59 -08:00
committed by GitHub
parent 73a91ec0ae
commit 434fe90b00
7 changed files with 56 additions and 73 deletions

View File

@@ -256,8 +256,8 @@ class WorkerThread(QtCore.QThread):
options.noprocessing = True
if GUI.deleteBox.isChecked():
options.delete = True
if GUI.dedupeCoverBox.isChecked():
options.dedupecover = True
if GUI.spreadShiftBox.isChecked():
options.spreadshift = True
if GUI.mozJpegBox.checkState() == Qt.CheckState.PartiallyChecked:
options.forcepng = True
elif GUI.mozJpegBox.checkState() == Qt.CheckState.Checked:
@@ -794,7 +794,7 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
'widthBox': GUI.widthBox.value(),
'heightBox': GUI.heightBox.value(),
'deleteBox': GUI.deleteBox.checkState().value,
'dedupeCoverBox': GUI.dedupeCoverBox.checkState().value,
'spreadShiftBox': GUI.spreadShiftBox.checkState().value,
'maximizeStrips': GUI.maximizeStrips.checkState().value,
'gammaSlider': float(self.gammaValue) * 100})
self.settings.sync()