mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Merge pull request #7106 from m-kuhn/encodedUrl3
Assume URL already encoded in web view widget
This commit is contained in:
commit
4752b99ed9
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user