Home GnuPG

qt: Improve message shown if passphrase does not satisfy constraints

Description

qt: Improve message shown if passphrase does not satisfy constraints

qt/pinentrydialog.cpp (PinEntryDialog::checkConstraints): Use

property-based API of QMessageBox.

Using the property-based API of QMessageBox allows us to use the first
line of the error message as text and the other lines as "informative
text". Use the Information icon instead of the Error icon.