Skip to content
Permalink
Browse files

Merge pull request #7106 from m-kuhn/encodedUrl3

Assume URL already encoded in web view widget
  • Loading branch information
m-kuhn committed May 31, 2018
2 parents 612d61d + 744a42f commit 4752b99ed91d3751ba18e54c954037f37c316918
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsexternalresourcewidget.cpp
@@ -230,7 +230,7 @@ void QgsExternalResourceWidget::loadDocument( const QString &path )
#ifdef WITH_QTWEBKIT
if ( mDocumentViewerContent == Web )
{
mWebView->setUrl( QUrl( resolvedPath ) );
mWebView->setUrl( QUrl::fromEncoded( resolvedPath.toUtf8() ) );
}
#endif

0 comments on commit 4752b99

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