mirror of https://github.com/stenzek/duckstation
Qt: Fix return code confusion in AchievementLoginDialog
We were passing the wrong code to QDialog::done(). Qt defines 0 as Rejected and 1 as Accepted. This had no practical impact because callers were also using the inverted logic. The accepted()/rejected() signals were emitted incorrectly but nothing is using them at the moment. Still, to prevent further issues and improve code readability, flip the logic and prefer accept()/reject() over done().pull/3457/head
parent
1026902389
commit
3b90d18c6a
Loading…
Reference in New Issue