Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Assume URL already encoded in web view widget
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+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 |
|
|
|
|
|