Skip to content

Commit 744a42f

Browse files
committed
Assume URL already encoded in web view widget
1 parent b202d60 commit 744a42f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgsexternalresourcewidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ void QgsExternalResourceWidget::loadDocument( const QString &path )
230230
#ifdef WITH_QTWEBKIT
231231
if ( mDocumentViewerContent == Web )
232232
{
233-
mWebView->setUrl( QUrl( resolvedPath ) );
233+
mWebView->setUrl( QUrl::fromEncoded( resolvedPath.toUtf8() ) );
234234
}
235235
#endif
236236

0 commit comments

Comments
 (0)