Bug 472527

Summary: Closing Kaffeine while recordings are scheduled prompts "Do you really want to close the application" twice
Product: [Applications] kaffeine Reporter: Philip Murray <philipihmurray>
Component: generalAssignee: Mauro Carvalho Chehab <mchehab>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Philip Murray 2023-07-23 10:42:11 UTC
SUMMARY
v2.0.18+git20230226.439cd0d-1
Debian 12.

STEPS TO REPRODUCE
1. Open Kaffiene. It is setup to use device 'Connexant CX22702 DVB-T'.
2. Load the Progamme Guide & set a programme to be recorded some time in the future.
3. Close Kaffiene.

OBSERVED RESULT
Floating window appears: 
"Question - Kaffeine. Kaffeine has scheduled recordings. Do you really want to close the application? Quit / Cancel."
Selecting 'Quit' makes the same prompt appear again.
Pressing 'Quit' the second time make it & Kaffeine close properly.

EXPECTED RESULT
Pressing 'Quit' the first time should act as it does upon the second press, i.e. close the program.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-10-amd64 (64-bit)
Graphics Platform: X11