1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-22 02:02:10 +02: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);
webTab->webView()->load(r);
}
else {
else if (req.url().isValid()) {
webTab->webView()->load(req);
}