Commit ac215755 authored by Aleksei Kanash's avatar Aleksei Kanash

Show web address as not encoded string.

parent 26038ffc
......@@ -351,7 +351,7 @@ void WBBrowserWindow::loadUrl(const QUrl &url)
if (!currentTabWebView() || !url.isValid())
return;
mTabWidget->currentLineEdit()->setText(QString::fromUtf8(url.toEncoded()));
mTabWidget->currentLineEdit()->setText(url.toString());
mTabWidget->loadUrlInCurrentTab(url);
}
......
......@@ -291,7 +291,7 @@ void WBUrlLineEdit::setWebView(WBWebView *pWebView)
void WBUrlLineEdit::webViewUrlChanged(const QUrl &url)
{
mLineEdit->setText(QString::fromUtf8(url.toEncoded()));
mLineEdit->setText(url.toString());
mLineEdit->setCursorPosition(0);
}
......
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