Skip to content
Permalink
Browse files

Skip missing functionality in identity dialog if QWebKit not installed

  • Loading branch information
dakcarto committed Nov 20, 2016
1 parent 5df9cbc commit 64b6a440d57ba74741b75a1f3e5522e978519ac4
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgsidentifyresultsdialog.cpp
@@ -78,7 +78,9 @@ QgsIdentifyResultsWebView::QgsIdentifyResultsWebView( QWidget *parent ) : QgsWeb
setSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::Minimum );
page()->setNetworkAccessManager( QgsNetworkAccessManager::instance() );
// page()->setLinkDelegationPolicy( QWebPage::DelegateAllLinks );
#ifdef WITH_QTWEBKIT
page()->setForwardUnsupportedContent( true );
#endif
page()->setLinkDelegationPolicy( QWebPage::DontDelegateLinks );
settings()->setAttribute( QWebSettings::LocalContentCanAccessRemoteUrls, true );
settings()->setAttribute( QWebSettings::JavascriptCanOpenWindows, true );

0 comments on commit 64b6a44

Please sign in to comment.
You can’t perform that action at this time.