Commit f4f04eaf authored by Floréal Cabanettes's avatar Floréal Cabanettes

Wordpress: check case wordpress plugin is not installed

parent 9a782e17
......@@ -103,6 +103,9 @@ void SendWordpress::handle_result(HttpRequestWorker *worker) {
if (worker->error_type == QNetworkReply::ContentOperationNotPermittedError) {
QMessageBox::critical((QWidget*)this->parent(), tr("Une erreur est survenue"), "Votre identificant ou vote mot de passe est incorrect");
}
else if (worker->error_type == QNetworkReply::ContentNotFoundError) {
QMessageBox::critical((QWidget*)this->parent(), tr("Une erreur est survenue"), "Impossible de se connecter. Le plugin Wordpress est-il installé et activé sur votre blog ?");
}
else {
QMessageBox::critical((QWidget*)this->parent(), tr("Une erreur est survenue"), worker->error_str);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment