summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-05-28 17:07:35 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-05-29 11:17:27 +0200
commit391a6322511bb189b7d7cc094e34a34ae6495820 (patch)
tree8eaedb5d053575e7f2eddd0a6cb0f0e6ae0d6cab /examples
parentaf313cb881610fedb04c9d486597462e6b3c8e12 (diff)
parent1b1411c589cb7ed29916762bcfedbbb68e657d2f (diff)
Merge remote-tracking branch 'origin/5.11' into dev
Diffstat (limited to 'examples')
-rw-r--r--examples/webenginewidgets/cookiebrowser/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webenginewidgets/cookiebrowser/mainwindow.cpp b/examples/webenginewidgets/cookiebrowser/mainwindow.cpp
index 235f9905..970381d4 100644
--- a/examples/webenginewidgets/cookiebrowser/mainwindow.cpp
+++ b/examples/webenginewidgets/cookiebrowser/mainwindow.cpp
@@ -197,5 +197,5 @@ void MainWindow::handleNewClicked()
void MainWindow::handleUrlClicked()
{
- m_webview->load(QUrl(m_urlLineEdit->text()));
+ m_webview->load(QUrl::fromUserInput(m_urlLineEdit->text()));
}