Commit dcbf195c authored by Anatoly Mihalchenko's avatar Anatoly Mihalchenko

correct closing application after work in Web mode

parent 14cb4757
......@@ -365,9 +365,14 @@ QString WBWebView::lastStatusBarText() const
QUrl WBWebView::url() const
{
QUrl url = QWebView::url();
QUrl url;
try{
url = QWebView::url();
} catch(...)
{}
if (!url.isEmpty())
return url;
return url;
return mInitialUrl;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment