Home GnuPG

tqt: Disable echoing if backspace is pressed first.

Description

tqt: Disable echoing if backspace is pressed first.

* tqt/secqlineedit.h (backspacePressed): New signal.
* tqt/secqinternal.cpp (SecTQLineEdit::backspace): Emit new signal.
* tqt/pinentrydialog.h (_got_input): New member field.
(onBackspace): New slot.
* tqt/pinentrydialog.cpp (onBackspace): New slot.
(PinEntryDialog::updateQuality): Prevent echo disabling as soon as
the text has been edited.
  • GnuPG-bug-id: T3428
  • Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>