Home GnuPG

qt: Fix reaction to Escape key and close button of window

Description

qt: Fix reaction to Escape key and close button of window

* qt/pinentryconfirm.cpp (PinentryConfirm::showEvent): Call the
overridden method of the direct super class.

This makes the Escape key and the close button of the window work as
expected resp. work at all. QMessageBox auto-detects the button to press
if the Escape key is pressed or the window close button is clicked in
QMessageBox:;showEvent(). It also does other things in this method, so
we better let it do its magic.

Details

Provenance
ikloeckerAuthored on Mar 2 2022, 4:49 PM
Parents
rP774e8a72cd1e: qt: Use better icon for signalling an error
Branches
Unknown
Tags
Unknown
Tasks
T5863: pinentry-qt: Further improve the accessibility