@ -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);