1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Reword opening password dialog per srkunze's suggestion

This commit is contained in:
Dubslow 2015-02-02 21:31:56 -06:00
parent 625eb3cf5b
commit 9c1cbb7a4d
No known key found for this signature in database
GPG Key ID: 3DB8E05315C220AA

View File

@ -1286,7 +1286,7 @@ QString Widget::passwordDialog(const QString& cancel, const QString& body)
QString ret;
QInputDialog dialog;
dialog.setWindowTitle(tr("Enter your password"));
dialog.setOkButtonText(tr("Set password"));
dialog.setOkButtonText(tr("Decrypt"));
dialog.setCancelButtonText(cancel);
dialog.setInputMode(QInputDialog::TextInput);
dialog.setTextEchoMode(QLineEdit::Password);