UI: Enforce completely Fusion Qt style on Linux #10719
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
As of 8dcfae9, indicating the base style to the proxy is completely functional.
It also bypasses QT_STYLE_OVERRIDE and -style, but since the system theme is no longer available on Linux this is a non-issue.
Motivation and Context
Rewrite of #6664 to use the conventional method to enforce a Qt style.
Since #10602, issues with the conventional method were fixed since there is one style for the whole app.
Also #9653 phased out the system theme on Linux and other themes only support Fusion as a base style on Linux.
So the side-effect of #6664 allowing the user to set their own Qt style is mostly unusable and potentially unwanted.
How Has This Been Tested?
Enforced system theme in the config file, and try to ran OBS with Breeze enforced.
With the PR, Fusion was in use and not Breeze.
Types of changes
Checklist: