Commit 58bc4c05 authored by Laurent Montel's avatar Laurent Montel 😁

Fix emit click url

parent 33bc88aa
......@@ -41,6 +41,8 @@ bool MailWebEnginePage::acceptNavigationRequest(const QUrl &url, NavigationType
{
Q_UNUSED(type);
Q_UNUSED(isMainFrame);
Q_EMIT urlClicked(url);
if (isMainFrame && type == NavigationTypeLinkClicked) {
Q_EMIT urlClicked(url);
}
return false;
}
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