Minor fixes
This commit is contained in:
@@ -541,7 +541,7 @@ class PliantNavBarWidget(QtWidgets.QDockWidget):
|
|||||||
self.animation = QtCore.QPropertyAnimation(self, b'windowOpacity')
|
self.animation = QtCore.QPropertyAnimation(self, b'windowOpacity')
|
||||||
self.animation.setDuration(200)
|
self.animation.setDuration(200)
|
||||||
self.animation.setStartValue(0)
|
self.animation.setStartValue(0)
|
||||||
self.animation.setEndValue(.9)
|
self.animation.setEndValue(.8)
|
||||||
|
|
||||||
background = self.main_window.settings['dialog_background']
|
background = self.main_window.settings['dialog_background']
|
||||||
self.setStyleSheet(
|
self.setStyleSheet(
|
||||||
@@ -651,7 +651,6 @@ class FixedComboBox(QtWidgets.QComboBox):
|
|||||||
self.adjusted_size = screen_width // 6
|
self.adjusted_size = screen_width // 6
|
||||||
|
|
||||||
def sizeHint(self):
|
def sizeHint(self):
|
||||||
# This and the one below should adjust to screen size
|
|
||||||
return self.minimumSizeHint()
|
return self.minimumSizeHint()
|
||||||
|
|
||||||
def minimumSizeHint(self):
|
def minimumSizeHint(self):
|
||||||
|
@@ -63,7 +63,7 @@ else:
|
|||||||
logger.error(error_string)
|
logger.error(error_string)
|
||||||
|
|
||||||
# djvu - Optional
|
# djvu - Optional
|
||||||
djvu_check = importlib.util.find_spec('djvu.decode')
|
djvu_check = importlib.util.find_spec('djvu')
|
||||||
if djvu_check:
|
if djvu_check:
|
||||||
from lector.parsers.djvu import ParseDJVU
|
from lector.parsers.djvu import ParseDJVU
|
||||||
sorter['djvu'] = ParseDJVU
|
sorter['djvu'] = ParseDJVU
|
||||||
|
Reference in New Issue
Block a user