Skip to content

Commit

Permalink
Fix qt6 build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 10, 2024
1 parent e98940e commit 054068e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/stac/qgsstacobjectdetailsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void QgsStacObjectDetailsDialog::setStacObject( QgsStacObject *stacObject )
html = html.replace( QLatin1String( "<head>" ), QStringLiteral( R"raw(<head><style type="text/css">%1</style>)raw" ) ).arg( myStyle );

mWebView->page()->setLinkDelegationPolicy( QWebPage::LinkDelegationPolicy::DelegateAllLinks );
connect( mWebView, &QWebView::linkClicked, this, []( const QUrl & url )
connect( mWebView, &QgsWebView::linkClicked, this, []( const QUrl & url )
{
QDesktopServices::openUrl( url );
} );
Expand Down

0 comments on commit 054068e

Please sign in to comment.