about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xkcc.py1
-rw-r--r--kcc/KCC_gui.py7
2 files changed, 4 insertions, 4 deletions
diff --git a/kcc.py b/kcc.py
index 50e564d..28045fc 100755
--- a/kcc.py
+++ b/kcc.py
@@ -71,6 +71,7 @@ from kcc import KCC_gui
 
 if __name__ == "__main__":
     freeze_support()
+    os.environ['QT_AUTO_SCREEN_SCALE_FACTOR'] = "1"
     KCCAplication = KCC_gui.QApplicationMessaging(sys.argv)
     if KCCAplication.isRunning():
         if len(sys.argv) > 1:
diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py
index efac643..692f463 100644
--- a/kcc/KCC_gui.py
+++ b/kcc/KCC_gui.py
@@ -629,10 +629,9 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
         GUI.gammaSlider.setValue(0)
         self.changeGamma(0)
         GUI.qualityBox.setEnabled(profile['Quality'])
+        GUI.upscaleBox.setChecked(profile['DefaultUpscale'])
         if not profile['Quality']:
             GUI.qualityBox.setChecked(False)
-        if profile['DefaultUpscale']:
-            GUI.upscaleBox.setChecked(True)
         if str(GUI.deviceBox.currentText()) == 'Other':
             self.addMessage('<a href="https://github.com/ciromattia/kcc/wiki/NonKindle-devices">'
                             'List of supported Non-Kindle devices.</a>', 'info')
@@ -653,9 +652,9 @@ class KCCGUI(KCC_ui.Ui_mainWindow):
     def addMessage(self, message, icon, replace=False):
         if icon != '':
             icon = eval('self.icons.' + icon)
-            item = QtWidgets.QListWidgetItem(icon, self.stripTags(message))
+            item = QtWidgets.QListWidgetItem(icon, '   ' + self.stripTags(message))
         else:
-            item = QtWidgets.QListWidgetItem(self.stripTags(message))
+            item = QtWidgets.QListWidgetItem('   ' + self.stripTags(message))
         if replace:
             GUI.jobList.takeItem(GUI.jobList.count() - 1)
         # Due to lack of HTML support in QListWidgetItem we overlay text field with QLabel