diff --git a/src/lib/webengine/webview.cpp b/src/lib/webengine/webview.cpp index f9e1fefd6..7867a9d06 100644 --- a/src/lib/webengine/webview.cpp +++ b/src/lib/webengine/webview.cpp @@ -178,7 +178,7 @@ void WebView::load(const LoadRequest &request) ) { // FIXME: This is blocking... QHostInfo info = QHostInfo::fromName(reqUrl.path()); - if (info.error() != QHostInfo::HostNotFound) { + if (info.error() == QHostInfo::NoError) { LoadRequest req = request; req.setUrl(QUrl(QSL("http://") + reqUrl.path())); loadRequest(req);