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

DolphinQt: fix some usability issues #11774

Merged
merged 2 commits into from Apr 25, 2023
Merged

Conversation

shuffle2
Copy link
Contributor

@shuffle2 shuffle2 commented Apr 19, 2023

  • Allow more correct behavior of Qt managing DPI awareness programmatically
  • Fix handling of Qt-specific commandline args (now you can -style fusion and it will work)

@shuffle2 shuffle2 changed the title DolphinQt: Prepare for Qt 6.5 and fix some usability issues DolphinQt: fix some usability issues Apr 19, 2023
Copy link
Contributor

@Pokechu22 Pokechu22 left a comment

Choose a reason for hiding this comment

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

Can confirm that the second commit is good. The separate handling in Windows was added in #9104, though there were further changes in #10500 which made it so that argc and argv exist. I confirmed that filenames with accents still work properly.

I don't use DPI changing personally so I haven't tested the first commit. It's probably correct though.

Qt already does this itself programmatically.
Setting in the manifest interferes with Qt's
internal handling of dpi awareness.
QApplication should parse and remove and args it recognizes
before dolphin starts inspecting the args.
This allows using e.g. -style <style> on the commandline.
@lioncash lioncash merged commit 8c2e924 into dolphin-emu:master Apr 25, 2023
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants