Commit dcbf195c authored by Anatoly Mihalchenko's avatar Anatoly Mihalchenko

correct closing application after work in Web mode

parent 14cb4757
...@@ -365,7 +365,12 @@ QString WBWebView::lastStatusBarText() const ...@@ -365,7 +365,12 @@ QString WBWebView::lastStatusBarText() const
QUrl WBWebView::url() const QUrl WBWebView::url() const
{ {
QUrl url = QWebView::url(); QUrl url;
try{
url = QWebView::url();
} catch(...)
{}
if (!url.isEmpty()) if (!url.isEmpty())
return url; return url;
......
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