mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 03:49:20 +03:00
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
This commit is contained in:
parent
3cef771868
commit
4b56cc6e08
1 changed files with 1 additions and 7 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue