projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
981a4ee
)
Display sharees on the first show of the share dialog.
author
Camila San
<hello@camila.codes>
Fri, 10 May 2019 14:56:03 +0000
(16:56 +0200)
committer
Camila San
<hello@camila.codes>
Mon, 27 May 2019 17:46:38 +0000
(19:46 +0200)
It was displaying them only when the current user would edit the share.
Signed-off-by: Camila San <hello@camila.codes>
src/gui/shareusergroupwidget.cpp
patch
|
blob
|
history
diff --git
a/src/gui/shareusergroupwidget.cpp
b/src/gui/shareusergroupwidget.cpp
index 27d80ed7828ceaa251fb43aea190ae7ee270a9dc..d576b1edb1678aa39dae7c8c8a53630792551520 100644
(file)
--- a/
src/gui/shareusergroupwidget.cpp
+++ b/
src/gui/shareusergroupwidget.cpp
@@
-202,6
+202,7
@@
void ShareUserGroupWidget::slotSharesFetched(const QList<QSharedPointer<Share>>
connect(s, &ShareUserLine::visualDeletionDone, this, &ShareUserGroupWidget::getShares);
s->setBackgroundRole(layout->count() % 2 == 0 ? QPalette::Base : QPalette::AlternateBase);
layout->addWidget(s);
+ s->setVisible(true);
x++;
if (x <= 3) {