Home GnuPG

qt4: Make it compile with Qt 4.8.7 and without C++11

Description

qt4: Make it compile with Qt 4.8.7 and without C++11

* qt4/main.cpp (qt_cmd_handler): Replace nullptr with NULL.
* qt4/pinentrydialog.cpp (PinEntryDialog::generatePin): Replace auto with
type name.
* qt4/pinlineedit.cpp (PinLineEdit::keyPressEvent): Replace
Qt::Key::Key_Backspace with Qt::Key_Backspace.

Details