Skip to content

Broken for webp files? #11

@gdevenyi

Description

@gdevenyi
PyQC.py *webp
QSocketNotifier: Can only be used with threads started with QThread
Traceback (most recent call last):
  File "/home/gdevenyi/projects/PyQC/PyQC.py", line 274, in <module>
    form = MainWindow()
  File "/home/gdevenyi/projects/PyQC/PyQC.py", line 47, in __init__
    self.openArgumentFiles()
  File "/home/gdevenyi/projects/PyQC/PyQC.py", line 205, in openArgumentFiles
    self.label.load(self.filelist[self.listlocation])
  File "/home/gdevenyi/projects/PyQC/image_widget.py", line 153, in load
    self.content.adaptScale(size)
  File "/home/gdevenyi/projects/PyQC/image_widget.py", line 52, in adaptScale
    n_size = QSize(width, size.height())
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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions