Show web address as not encoded string.

preferencesAboutTextFull
Aleksei Kanash 12 years ago
parent 26038ffcd0
commit ac215755c3
  1. 2
      src/web/browser/WBBrowserWindow.cpp
  2. 2
      src/web/browser/WBUrlLineEdit.cpp

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

Loading…
Cancel
Save