Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

setMinimumSize : unexpected type 'float' #347

@AnasGhrab

Description

@AnasGhrab

Hi. With the last versions of Claudia and Ubuntu 22 TLS, I get this error when lauching Claudia :

anas@Zeus:~$ claudia
Using Tray Engine 'Qt'
Traceback (most recent call last):
  File "/usr/share/cadence/src/claudia.py", line 2768, in <module>
    gui = ClaudiaMainW()
  File "/usr/share/cadence/src/claudia.py", line 786, in __init__
    self.ui.miniCanvasPreview.init(self.scene, DEFAULT_CANVAS_WIDTH, DEFAULT_CANVAS_HEIGHT)
  File "/usr/share/cadence/src/canvaspreviewframe.py", line 76, in init
    self.setMinimumSize(self.fFakeWidth+padding,   self.fFakeHeight+padding)
TypeError: arguments did not match any overloaded call:
  setMinimumSize(self, int, int): argument 1 has unexpected type 'float'
  setMinimumSize(self, QSize): argument 1 has unexpected type 'float'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions