duckstation/src/duckstation-qt
Davide Pesavento 3b90d18c6a
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().
2025-06-21 13:13:31 +10:00
..
2024-11-29 20:13:37 +10:00