correct closing application after work in Web mode

preferencesAboutTextFull
Anatoly Mihalchenko 13 years ago
parent 14cb47578b
commit dcbf195ce1
  1. 9
      src/web/browser/WBWebView.cpp

@ -365,9 +365,14 @@ 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;
return mInitialUrl; return mInitialUrl;
} }

Loading…
Cancel
Save