mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
WebTab: Return requestedUrl when url is empty
This commit is contained in:
parent
2283b41fdc
commit
41b6ae21cd
@ -257,6 +257,9 @@ void WebTab::showSearchToolBar()
|
||||
QUrl WebTab::url() const
|
||||
{
|
||||
if (isRestored()) {
|
||||
if (m_webView->url().isEmpty() && m_webView->isLoading()) {
|
||||
return m_webView->page()->requestedUrl();
|
||||
}
|
||||
return m_webView->url();
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user