1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

TabWidget: Don't try to load empty url when adding a tab

Fixes showing titles of other tabs when restoring session
This commit is contained in:
David Rosca 2015-02-08 10:10:36 +01:00
parent 72438755a2
commit f67348fac8

View File

@ -379,7 +379,7 @@ int TabWidget::addView(const LoadRequest &req, const QString &title, const Qz::N
r.setUrl(url); r.setUrl(url);
webTab->webView()->load(r); webTab->webView()->load(r);
} }
else { else if (req.url().isValid()) {
webTab->webView()->load(req); webTab->webView()->load(req);
} }