summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-11-04 07:10:12 (GMT)
committerMontel Laurent <montel@kde.org>2016-11-04 07:10:12 (GMT)
commitacc68dc7ccac0dd9c1db757b5d9d8ed894374840 (patch)
tree957b3dd99abff380842a3222895078c7248053ef
parent265824fcfe2d9d39169b6c68b8bab3bd9b6ba17b (diff)
Fix signal/slot
-rw-r--r--messageviewer/src/viewer/viewer_p.cpp2
-rw-r--r--messageviewer/src/viewer/viewer_p.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/messageviewer/src/viewer/viewer_p.cpp b/messageviewer/src/viewer/viewer_p.cpp
index b1d7401..ee29d9c 100644
--- a/messageviewer/src/viewer/viewer_p.cpp
+++ b/messageviewer/src/viewer/viewer_p.cpp
@@ -2006,7 +2006,7 @@ void ViewerPrivate::slotUrlOpen(const QUrl &url)
Q_EMIT urlClicked(mMessageItem, mClickedUrl);
}
-void ViewerPrivate::slotCheckUrl(WebEngineViewer::CheckPhishingUrlJob::UrlStatus status)
+void ViewerPrivate::slotCheckUrl(WebEngineViewer::CheckPhishingUrlJob::UrlStatus status, const QUrl &url)
{
switch (status) {
case WebEngineViewer::CheckPhishingUrlJob::Ok:
diff --git a/messageviewer/src/viewer/viewer_p.h b/messageviewer/src/viewer/viewer_p.h
index 3dbb38f..10cd1ea 100644
--- a/messageviewer/src/viewer/viewer_p.h
+++ b/messageviewer/src/viewer/viewer_p.h
@@ -474,7 +474,7 @@ private Q_SLOTS:
void slotHandlePagePrinted(bool result);
void slotLoadStarted();
void slotDisableEmoticon();
- void slotCheckUrl(WebEngineViewer::CheckPhishingUrlJob::UrlStatus status);
+ void slotCheckUrl(WebEngineViewer::CheckPhishingUrlJob::UrlStatus status, const QUrl &url);
public Q_SLOTS:
/** An URL has been activate with a click. */
void slotUrlOpen(const QUrl &url = QUrl());