Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparation for PySide6 #415

Merged
merged 43 commits into from
Jul 15, 2024
Merged

Conversation

loathingKernel
Copy link
Contributor

No description provided.

loathingKernel and others added 30 commits June 29, 2024 17:29
`entitlements` might be an empty list, so check if it is truthy instead of `None`
PySide6 complains that the signals have already been deleted
This pattern caused PySide6 to derp hard. Use abstract methods instead.
The hacky way used in AppNameCompleter doesn't work in PySide6, so search
for the app_name based on the completed game's title.
In PySide6 setting the button as the button in the tab causes a crash,
so work around that.
This should be properly solved in the future by refactoring MoveDialog
For an unknown reason presently, the eventFilter is called with
a QRunnable as the second argument instead of a QEvent. This causes
a crash because a QRunnable doesn't have a `type` attribute. The target
object seems to be the launch button.

Work-around it by filtering out the event early if the second argument
is not a QEevent instance and log an error.
license="GPL-3",
description="A gui for Legendary",
description="A gui for legendary",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's up with lowercasing these strings? They were correct as they were

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The capitalization was inconsistent between files. gui should also be GUI technically but looks ugly as a window title. I'd like to find some other descriptive text for Rare anyways, as both GUI and Legendary are not descriptive enough for unfamiliar users.

@loathingKernel loathingKernel merged commit e36ed5c into RareDevs:main Jul 15, 2024
2 of 14 checks passed
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.

2 participants