summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-12-02 12:44:40 (GMT)
committerMontel Laurent <montel@kde.org>2016-12-02 12:44:53 (GMT)
commitfa6013e087cbbc95024e5d580de0f070feb8dd59 (patch)
tree2965a2d196ddc93c266da8f4321d811ade509475
parente492fd30f94c38c2491772fad8a892463f078dcc (diff)
Fix store correct value in cachev16.11.90
-rw-r--r--messageviewer/src/viewer/viewer_p.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/messageviewer/src/viewer/viewer_p.cpp b/messageviewer/src/viewer/viewer_p.cpp
index e891f51..6fdba43 100644
--- a/messageviewer/src/viewer/viewer_p.cpp
+++ b/messageviewer/src/viewer/viewer_p.cpp
@@ -2013,9 +2013,10 @@ void ViewerPrivate::slotCheckUrl(WebEngineViewer::CheckPhishingUrlJob::UrlStatus
KMessageBox::error(mMainWindow, i18n("The url %1 is not valid.", url.toString()), i18n("Check Phishing Url"));
break;
case WebEngineViewer::CheckPhishingUrlJob::Ok:
- WebEngineViewer::CheckPhishingUrlCache::self()->setCheckingUrlResult(url, WebEngineViewer::CheckPhishingUrlCache::UrlOk);
+ WebEngineViewer::CheckPhishingUrlCache::self()->setCheckingUrlResult(url, true);
break;
case WebEngineViewer::CheckPhishingUrlJob::MalWare:
+ WebEngineViewer::CheckPhishingUrlCache::self()->setCheckingUrlResult(url, false);
if (!urlIsAMalwareButContinue()) {
return;
}