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

Fix launching with Adwaita theme by removing unpolish() call when changing theme #586

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

zjeffer
Copy link
Collaborator

@zjeffer zjeffer commented Jun 12, 2023

Solution found by @guihkx.

Haven't noticed any issues when removing this line. I don't yet know why many examples online always call unpolish first.

@zjeffer zjeffer requested a review from guihkx June 12, 2023 22:05
Copy link
Collaborator

@guihkx guihkx left a comment

Choose a reason for hiding this comment

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

Yeah, I'm not sure about the correctness of this, but I tested the deb package on Ubuntu 18.04 (which still uses Qt 5.9), and theme switching still looks fine to me. I have not tested on any other OS, however.

And because this fixes this Adwaita-Qt issue, I say LGTM.

@zjeffer zjeffer merged commit bf1f62e into master Jun 13, 2023
@guihkx guihkx deleted the fix/zjeffer/remove-unpolish branch June 14, 2023 07:21
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