Skip to content

Fix mistake from PyQt5 that causes PyQt6 Reggie to error out#71

Open
kirbluemodding wants to merge 1 commit intoDevelopers-Collective:mainfrom
kirbluemodding:main
Open

Fix mistake from PyQt5 that causes PyQt6 Reggie to error out#71
kirbluemodding wants to merge 1 commit intoDevelopers-Collective:mainfrom
kirbluemodding:main

Conversation

@kirbluemodding
Copy link

in PyQt6, PyQt5's Qt.transparent was changed to be Qt.GlobalColor.transparent. because of this, loading this sprites.py code in PyQt6 reggie causes a bunch of strange issues.

in PyQt6, PyQt5's Qt.transparent was changed to be Qt.GlobalColor.transparent. because of this, loading this sprites.py code in PyQt6 reggie causes a bunch of strange issues.
@kirbluemodding
Copy link
Author

actually i'm pretty sure i forgot two more, QtCore.Qt.IgnoreAspectRatio should become QtCore.Qt.AspectRatioMode.IgnoreAspectRatio, and QtCore.Qt.SmoothTransformation should become QtCore.Qt.TransformationMode.SmoothTransformation

my bad lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments