Skip to content

DeprecationWarning #9

@adrianinsaval

Description

@adrianinsaval

self.menu.setWindowFlags(self.menu.windowFlags() | QtCore.Qt.FramelessWindowHint)

Hi, I'm currently getting this warning when starting the freecad 0.19 appimage:

:410: DeprecationWarning: an integer is required (got type PySide2.QtCore.Qt.WindowFlags). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
:410: DeprecationWarning: an integer is required (got type PySide2.QtCore.Qt.WindowType). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.

It doesn't say wich workbench but I removed all workbenchs and reinstalled one by one until it appeared again.

It doen's affect functionality AFAIK but figured it was worth reporting.

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