Created attachment 139857 [details]
The auto-prune times for mails can be set for read and unread mails. The values get stored to the wrong fields.
STEPS TO REPRODUCE
1. Open the prune settings for a folder
2. Set for example "5" for the "read" and "10" for the "unread" ones, close dialog to save.
3. Reopen the dialog.
The values are switched.
The values appear as entered.
FreBSD/KDE Plasma: 14-CURRENT/5.22.1
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83.0
KMail version: 5.17.2 (21.04.2)
Qt Version: 5.15.2
Screenshot of the dialogs on save/load (also attached):
I confirm it. I will fix it soon.
Git commit e0e7e702df21ac3b0b16b94f3871c0ddbe53e962 by Laurent Montel.
Committed on 05/07/2021 at 06:03.
Pushed by mlaurent into branch 'release/21.04'.
Bug 439501 - Mail auto-prune time for read and unread get switched on
M +2 -2 src/collectionpage/collectionexpirypage.cpp
Awesome :) -- thanks for the quick fix!