Split the new association message across multiple lines.

This commit is contained in:
Keith Bennett 2014-03-22 16:25:00 +00:00
parent b953ea9042
commit 6ef5f34070

View File

@ -146,11 +146,14 @@ QString Service::storeKey(const QString &key)
do { do {
bool ok; bool ok;
//Indicate who wants to associate, and request user to enter the 'name' of association key //Indicate who wants to associate, and request user to enter the 'name' of association key
id = QInputDialog::getText(0, tr("KeyPassX/Http: New key association request"), id = QInputDialog::getText(0,
tr("You have received an association request for the above key. If you would like to " tr("KeyPassX/Http: New key association request"),
"allow it access to your KeePassX database give it a unique name to identify and" tr("You have received an association "
"accept it."), "request for the above key.\n"
QLineEdit::Normal, QString(), &ok); "If you would like to allow it access "
"to your KeePassX database\n"
"give it a unique name to identify and accept it."),
QLineEdit::Normal, QString(), &ok);
if (!ok || id.isEmpty()) if (!ok || id.isEmpty())
return QString(); return QString();