1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Fixed "Don't quit upon closing last tab" with blank url on new tab.

- it now properly loads empty page

closes #400
This commit is contained in:
nowrep 2012-05-13 22:10:04 +02:00
parent 330b35f8db
commit d5071215eb

View File

@ -140,7 +140,7 @@ void WebView::load(const QNetworkRequest &request, QNetworkAccessManager::Operat
return;
}
if (isUrlValid(url)) {
if (url.isEmpty() || isUrlValid(url)) {
QWebView::load(request, operation, body);
emit urlChanged(url);
m_aboutToLoadUrl = url;