Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamila San <hello@camila.codes>2019-05-10 17:58:54 +0300
committerCamila San <hello@camila.codes>2019-05-27 20:46:38 +0300
commit9ff1a30dc4fc8e0155cd5bf5e69118d0fca70bfe (patch)
tree61aaf3b99274ef9c532d0cb76455a735541ba5d9 /src/gui/sharedialog.cpp
parent4f0ff154d3e14cd967a5841fb5b108a24b5d4a95 (diff)
Display error when current user is not allowed to reshare file/folder.
Signed-off-by: Camila San <hello@camila.codes>
Diffstat (limited to 'src/gui/sharedialog.cpp')
-rw-r--r--src/gui/sharedialog.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}