qt: Disable echoing if backspace is pressed first.

Authored by Damien Goutte-Gattat via Gnupg-devel <gnupg-devel@gnupg.org> on Aug 4 2018, 11:24 PM.

Description

qt: Disable echoing if backspace is pressed first.

* qt/pinlineedit.h: New file.
* qt/pinlineedit.cpp: New file.
* qt/Makefile.am: Add new source files.
* qt/pinentrydialog.cpp (PinEntryDialog): New member _got_input;
Type of _edit member changed to PinLineEdit.
(PinEntryDialog::onBackspace): New slot.
  • GnuPG-bug-id: T3428
  • Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>