Skip to content

Commit

Permalink
Merge pull request #6955 from amaizr/web-view-widget-wrapper-url-enco…
Browse files Browse the repository at this point in the history
…ding-2_18

Assume URL already encoded in web view widget
  • Loading branch information
m-kuhn committed May 29, 2018
2 parents efce338 + 76e508c commit 7160bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgswebviewwidgetwrapper.cpp
Expand Up @@ -39,7 +39,7 @@ void QgsWebViewWidgetWrapper::loadUrl( const QString &url )
path = QDir( QgsProject::instance()->fileInfo().absolutePath() ).filePath( url );

if ( mWebView )
mWebView->load( path );
mWebView->load( QUrl::fromEncoded( path.toUtf8() ) );
}

QVariant QgsWebViewWidgetWrapper::value() const
Expand Down

0 comments on commit 7160bac

Please sign in to comment.