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

Provenance
ikloeckerAuthored on Fri, Aug 5, 6:13 PM
Parents
rP08a7391fc024: qt,qt4: Separate build of pinentry with Qt5 and Qt4
Branches
Unknown
Tags
Unknown
Tasks
T5569: pinentry qt4 fails to compile in pinentry 1.2.0