From f699caeeb1a0bb4fb1b83dc1cbca3ccab6d994ff Mon Sep 17 00:00:00 2001 From: Sharma Date: Tue, 20 Jun 2023 16:15:15 +0530 Subject: [PATCH] Changes related to Entering passphrase ui design --- src/libsync/clientsideencryption.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/libsync/clientsideencryption.cpp b/src/libsync/clientsideencryption.cpp index c1732e13fb933..0659168f4819a 100644 --- a/src/libsync/clientsideencryption.cpp +++ b/src/libsync/clientsideencryption.cpp @@ -1592,16 +1592,15 @@ void ClientSideEncryption::decryptPrivateKey(const AccountPtr &account, const QB QString msg = tr("Please enter your end-to-end encryption passphrase:
" "
" - "Username: %2
" - "Account: %3
") - .arg(Utility::escape(account->credentials()->user()), - Utility::escape(account->displayName())); + "User: %2
") + .arg(Utility::escape(account->prettyName())); QInputDialog dialog; - dialog.setWindowTitle(tr("Enter E2E passphrase")); + dialog.setWindowFlags(dialog.windowFlags() & ~Qt::WindowContextHelpButtonHint); + dialog.setWindowTitle(tr("Enter end-to-end encryption")); dialog.setLabelText(msg); dialog.setTextEchoMode(QLineEdit::Normal); - + dialog.setFixedSize(588,214); QString prev; while(true) {