Skip to content

Commit

Permalink
+ fix loading of certain urls in web page
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Jun 24, 2015
1 parent 16c740a commit 9680f13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Web/Gui/BrowserView.cpp
Expand Up @@ -231,13 +231,13 @@ void BrowserView::onUnsupportedContent(QNetworkReply* reply)

void BrowserView::load(const char* URL)
{
QUrl url = QUrl(QString::fromUtf8(URL));
QUrl url = QUrl::fromUserInput(QString::fromUtf8(URL));
load(url);
}

void BrowserView::load(const QUrl & url)
{
if(isLoading)
if (isLoading)
stop();

view->load(url);
Expand Down

0 comments on commit 9680f13

Please sign in to comment.