summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pica-client/askpassword.cpp4
-rwxr-xr-xtests/test_clientbin35035 -> 35075 bytes
2 files changed, 3 insertions, 1 deletions
diff --git a/pica-client/askpassword.cpp b/pica-client/askpassword.cpp
index e3c0696..a171217 100644
--- a/pica-client/askpassword.cpp
+++ b/pica-client/askpassword.cpp
@@ -45,7 +45,9 @@ void AskPassword::password_dialog()
{
bool ok;
QString title = QObject::tr("Enter private key passphrase");
- QString text = QObject::tr(QString("Passphrase for (%1)").arg(Accounts::GetCurrentAccount().id.toBase64().constData()).toUtf8().constData());
+ QString text = QObject::tr(QString("Passphrase for account %1 \n (%2)")
+ .arg(Accounts::GetCurrentAccount().name)
+ .arg(Accounts::GetCurrentAccount().id.toBase64().constData()).toUtf8().constData());
QString psw = QInputDialog::getText((QWidget*)mainwindow,title,text,QLineEdit::Password,QString(),&ok);
if (ok)
idpasswd[Accounts::GetCurrentAccount().id] = psw;
diff --git a/tests/test_client b/tests/test_client
index e900e8d..a384dee 100755
--- a/tests/test_client
+++ b/tests/test_client
Binary files differ