From: Claudio Cambra Date: Fri, 9 Dec 2022 17:46:59 +0000 (+0100) Subject: Add encryption success message box X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~70^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2b092815943feaf0150e4c223e6727ffd1cbdb0e;p=nextcloud-desktop.git Add encryption success message box Signed-off-by: Claudio Cambra --- 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));