diff options
author | unknown <Roopesh Chander@.(none)> | 2009-11-11 13:36:58 +0530 |
---|---|---|
committer | unknown <Roopesh Chander@.(none)> | 2009-11-11 13:36:58 +0530 |
commit | 32dc8b192728c63c86866a67b069f75644a29086 (patch) | |
tree | 7efd8189791d4dd10ddd7377928dc474d223442d /mainwindow.cpp | |
parent | f6fe024446fad54230b8155b436f49502d20d721 (diff) |
use QUrl::fromUserInput instead of QWebView::guessUrlFromString
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r-- | mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index 0c8cf7a..e7ba3d5 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -162,7 +162,7 @@ MainWindow::~MainWindow() void MainWindow::changeLocation() { - QUrl url = QWebView::guessUrlFromString(m_addressBar->text()); + QUrl url = QUrl::fromUserInput(m_addressBar->text()); m_webView->load(url); m_webView->setFocus(); } |