mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 13:35:58 +03:00
Sharedialog: Also reply on delete should be checked
This commit is contained in:
parent
d5bddca01d
commit
233f0423fa
1 changed files with 11 additions and 3 deletions
|
@ -210,10 +210,18 @@ void ShareDialog::slotSharesFetched(const QString &reply)
|
|||
}
|
||||
}
|
||||
|
||||
void ShareDialog::slotDeleteShareFetched(const QString & /* reply */)
|
||||
void ShareDialog::slotDeleteShareFetched(const QString &reply)
|
||||
{
|
||||
_pi_password->hide();
|
||||
_pi_date->hide();
|
||||
QString message;
|
||||
int code = checkJsonReturnCode(reply, message);
|
||||
|
||||
qDebug() << Q_FUNC_INFO << "Status code: " << code;
|
||||
if (code != 100) {
|
||||
QMessageBox msgBox;
|
||||
msgBox.setText(message);
|
||||
msgBox.setWindowTitle(QString("Server replied with code %1").arg(code));
|
||||
msgBox.exec();
|
||||
}
|
||||
|
||||
_pi_link->stopAnimation();
|
||||
_ui->widget_shareLink->hide();
|
||||
|
|
Loading…
Reference in a new issue