bug #4604 Query history not being deleted

Signed-off-by: Marc Delisle <marc@infomarc.info>
Merge branch 'QA_4_2' into QA_4_3
Translated using Weblate (Azerbaijani)

Currently translated at 51.6% (1537 of 2978 strings)

[CI skip]
Merge remote-tracking branch 'origin/QA_4_3' into QA_4_3
Merge commit '1110d08'
Merge commit '42bf15e'