Sharedialog: Also reply on delete should be checked

This commit is contained in:
Roeland Jago Douma 2015-01-17 09:48:18 +01:00
parent d5bddca01d
commit 233f0423fa

View file

@ -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();