From 2b092815943feaf0150e4c223e6727ffd1cbdb0e Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Fri, 9 Dec 2022 18:46:59 +0100 Subject: [PATCH] Add encryption success message box Signed-off-by: Claudio Cambra --- src/gui/socketapi/socketapi.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/socketapi/socketapi.cpp b/src/gui/socketapi/socketapi.cpp index 100c9087b..56fb934a8 100644 --- a/src/gui/socketapi/socketapi.cpp +++ b/src/gui/socketapi/socketapi.cpp @@ -549,6 +549,11 @@ void SocketApi::processEncryptRequest(const QString &localFile) tr("Failed to encrypt folder at \"%1\"").arg(fileData.folderRelativePath), tr("Server replied with error: %1").arg(job->errorString())); Q_UNUSED(ret) + } else { + const int ret = QMessageBox::information(nullptr, + tr("Folder at \"%1\" encrypted successfully").arg(fileData.folderRelativePath), + {}); + Q_UNUSED(ret) } }); job->setProperty(encryptJobPropertyFolder, QVariant::fromValue(folder)); -- 2.30.2