16 Commits

Author SHA1 Message Date
Davide Pesavento
976bf834ed Qt: Use QDialog::Accepted/Rejected in more places 2025-06-22 13:07:56 +10:00
Davide Pesavento
842f7414d9 Qt: Simplify connecting to QDialogButtonBox signals 2025-06-22 13:07:56 +10:00
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
Davide Pesavento
ba78714d4f Qt: More consistent icon handling 2025-06-09 22:18:13 +10:00
Stenzek
f8cd1d3d92
Qt: Warn on cheat enable if gamesettings disabled 2025-04-25 15:54:34 +10:00
Stenzek
369f62318f
Cheats: Only display codes for selected revision 2025-02-15 22:45:17 +10:00
Stenzek
880c76da24
Qt: Fix columns being hidden after editing cheats 2025-01-14 13:53:09 +10:00
Stenzek
991405ce06
Qt: Add search and sorting to cheat list 2025-01-13 22:45:59 +10:00
Stenzek
3a661a1c3d
Cheats: Move file clearing into core
Needed for Android.
2024-12-08 02:58:50 +10:00
PugsyMAME
5caadec34d
Cheat bugfix and new A8 cheat type (#3328)
* Bugfix for import and entering new cheats

Added needed g_emu_thread->reloadCheats calls after the reloadList() calls on entering a new code or importing new codes.

Without it I had to import new codes and then manually edit one of them for it to show up in the cheat counts and possibly even work

* Added Cheat Type A8

Added cheat type A8 which is the byte equivalent of the A7 cheat type as there will be a need of this type.

* Changed boolean parameters in last PR

Changed boolean parameters in last PR as per discord
2024-11-11 14:01:50 +10:00
Stenzek
88147d8f69
Qt: Fix legacy cht file clearing 2024-11-03 22:32:35 +10:00
Stenzek
8f087ab594
Qt: Add prompt to enable cheats when list is checked 2024-11-03 18:08:28 +10:00
Stenzek
d416ecb324
Qt: Add 'Clear Cheats' option to cheats page 2024-11-03 17:57:58 +10:00
Stenzek
0fc719c4cf
Cheats: Simplify code merging on import
The save file already does replacement.
2024-11-03 17:38:50 +10:00
Stenzek
95be381a9f
Qt: Fix cheat code delete message 2024-11-03 17:26:54 +10:00
Stenzek
e0b6f6f1b2
Cheats: Rewrite cheat management system 2024-10-13 16:43:22 +10:00