From: Camila San Date: Fri, 10 May 2019 14:58:54 +0000 (+0200) Subject: Display error when current user is not allowed to reshare file/folder. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~279^2^2~15^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9ff1a30dc4fc8e0155cd5bf5e69118d0fca70bfe;p=nextcloud-desktop.git Display error when current user is not allowed to reshare file/folder. Signed-off-by: Camila San --- diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp index 4a62f5885..57126988b 100644 --- a/src/gui/sharedialog.cpp +++ b/src/gui/sharedialog.cpp @@ -271,6 +271,7 @@ void ShareDialog::showSharingUi() auto label = new QLabel(this); label->setText(tr("The file can not be shared because it was shared without sharing permission.")); label->setWordWrap(true); + _ui->verticalLayout->insertWidget(1, label); return; }