Use toDisplayString for URL text.

This commit is contained in:
Florian Bruhin 2014-06-22 23:35:20 +02:00
parent ba20300a2c
commit 983a0da520

View File

@ -384,7 +384,7 @@ class WebView(QWebView):
def on_url_changed(self, url):
"""Update url_text when URL has changed."""
qt_ensure_valid(url)
self.url_text = url.toString()
self.url_text = url.toDisplayString()
@pyqtSlot(str)
def on_link_clicked(self, urlstr):