[Pkg-owncloud-commits] [owncloud-client] 37/159: On creation of a share always retrieve the share
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri May 1 13:05:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 4b56cc6e081c2e1ed6a2f611763c564e87573d74
Author: Roeland Jago Douma <r.j.douma at uva.nl>
Date: Thu Mar 19 09:05:57 2015 +0100
On creation of a share always retrieve the share
This makes sure that if a default expiration date is set this is reflected in
the dialog. #2889
---
src/gui/sharedialog.cpp | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/src/gui/sharedialog.cpp b/src/gui/sharedialog.cpp
index f2d63a4..b57f36a 100644
--- a/src/gui/sharedialog.cpp
+++ b/src/gui/sharedialog.cpp
@@ -421,13 +421,7 @@ void ShareDialog::slotCreateShareFetched(const QString &reply)
bool success;
QVariantMap json = QtJson::parse(reply, success).toMap();
_public_share_id = json.value("ocs").toMap().values("data")[0].toMap().value("id").toULongLong();
- QString url = json.value("ocs").toMap().values("data")[0].toMap().value("url").toString();
-
- setShareLink(url);
-
- setShareCheckBoxTitle(true);
-
- _ui->widget_shareLink->show();
+ getShares();
}
void ShareDialog::slotCheckBoxPasswordClicked()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list