Merge branch 'staged' into dev

This commit is contained in:
Xiao YiFang 2022-07-10 14:28:47 +08:00
commit 19ee6bbeb2

View file

@ -31,7 +31,7 @@ bool ArticleWebPage::acceptNavigationRequest( const QUrl & resUrl, NavigationTyp
if( type == QWebEnginePage::NavigationTypeLinkClicked ) if( type == QWebEnginePage::NavigationTypeLinkClicked )
{ {
emit linkClicked( url ); emit linkClicked( url );
return true; return false;
} }
return QWebEnginePage::acceptNavigationRequest( url, type, isMainFrame ); return QWebEnginePage::acceptNavigationRequest( url, type, isMainFrame );