Skip to content

Commit

Permalink
Assume URL already encoded
Browse files Browse the repository at this point in the history
  • Loading branch information
amaizr committed May 8, 2018
1 parent d8e39fa commit 76e508c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgswebviewwidgetwrapper.cpp
Original file line number Diff line number Diff line change
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 76e508c

Please sign in to comment.