summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <[email protected]>2019-01-02 07:49:22 +0100
committerLaurent Montel <[email protected]>2019-01-02 07:49:22 +0100
commita5b272e54e931b7c694004360d2de5583a98037f (patch)
tree457bb8b0249c54404ccae50f062be16ca314bffa
parenteafa51cb5ac05769e6411c08e458197f38a65dd3 (diff)
inform when we can't expand url
-rw-r--r--messageviewer/src/scamdetection/scamexpandurljob.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/messageviewer/src/scamdetection/scamexpandurljob.cpp b/messageviewer/src/scamdetection/scamexpandurljob.cpp
index 9b17037..2df2876 100644
--- a/messageviewer/src/scamdetection/scamexpandurljob.cpp
+++ b/messageviewer/src/scamdetection/scamexpandurljob.cpp
@@ -101,6 +101,9 @@ void ScamExpandUrlJob::slotExpandFinished(QNetworkReply *reply)
KPIM::BroadcastStatus::instance()->setStatusMsg(i18n("Short url \'%1\' redirects to \'%2\'.",
shortUrl.url(),
longUrl.toDisplayString()));
+ } else {
+ KPIM::BroadcastStatus::instance()->setStatusMsg(i18n("Impossible to expand \'%1\'.",
+ shortUrl.url()));
}
deleteLater();
}