Commit 48445fb4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile

parent 66fe610e
Pipeline #56099 canceled with stage
......@@ -85,7 +85,7 @@ ArticleViewerWebEngine::ArticleViewerWebEngine(KActionCollection *ac, QWidget *p
// connect(externalReference, &MessageViewer::LoadExternalReferencesUrlInterceptor::urlBlocked, this, &MailWebEngineView::urlBlocked);
mNetworkAccessManager->addInterceptor(externalReference);
auto *blockTracking = new WebEngineViewer::BlockTrackingUrlInterceptor(this);
connect(blockTracking, &WebEngineViewer::BlockTrackingUrlInterceptor::trackingFound, this, &MailWebEngineView::trackingFound);
connect(blockTracking, &WebEngineViewer::BlockTrackingUrlInterceptor::trackingFound, this, &ArticleViewerWebEngine::trackingFound);
mNetworkAccessManager->addInterceptor(blockTracking);
#endif
connect(this, &ArticleViewerWebEngine::showContextMenu, this, &ArticleViewerWebEngine::slotShowContextMenu);
......
......@@ -93,6 +93,7 @@ Q_SIGNALS:
void findTextInHtml();
void textToSpeech();
void webPageMutedOrAudibleChanged(bool isAudioMuted, bool wasRecentlyAudible);
void trackingFound(const WebEngineViewer::BlockTrackingUrlInterceptor::TrackerBlackList &);
protected:
void resizeEvent(QResizeEvent *e) override;
......
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