Bug fixed when self.adjisted_size is float and QSize expects an integer.
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/lector/toolbars.py", line 514, in sizeHint
return QtCore.QSize(self.adjusted_size, 22)
TypeError: arguments did not match any overloaded call:
QSize(): too many arguments
QSize(int, int): argument 1 has unexpected type 'float'
QSize(QSize): argument 1 has unexpected type 'float'
fish: Job 1, 'lector' terminated by signal SIGABRT (Abort)
Bug fixed when
self.adjisted_size
is float andQSize
expects an integer.