From: Claudio Cambra Date: Fri, 28 Oct 2022 14:43:30 +0000 (+0200) Subject: Don't show the user any potenitally questionable remote data X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~177^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4b6fdcc5502fc158e39e812d93a4447530ac0410;p=nextcloud-desktop.git Don't show the user any potenitally questionable remote data Signed-off-by: Claudio Cambra --- diff --git a/src/gui/editlocallyhandler.cpp b/src/gui/editlocallyhandler.cpp index 65f12911c..80d38b07c 100644 --- a/src/gui/editlocallyhandler.cpp +++ b/src/gui/editlocallyhandler.cpp @@ -70,7 +70,7 @@ void EditLocallyHandler::startSetup() if (!_accountState) { qCWarning(lcEditLocallyHandler) << "Could not find an account " << _userId << " to edit file " << _relPath << " locally."; - showError(tr("Could not find an account for local editing."), _userId); + showError(tr("Could not find an account for local editing."), tr("Please try again.")); return; } @@ -110,7 +110,7 @@ void EditLocallyHandler::remoteTokenCheckResultReceived(const int statusCode) _tokenVerified = statusCode == HTTP_OK_CODE; if (!_tokenVerified) { - showError(tr("Could not validate the request to open a file from server."), _relPath); + showError(tr("Could not validate the request to open a file from server."), tr("Please try again.")); } proceedWithSetup();