+ fix loading of certain urls in web page

This commit is contained in:
wmayer 2015-06-24 13:35:13 +02:00
parent 16c740a6f9
commit 9680f13854

View File

@ -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);