aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 0369d17..f3f0860 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -174,7 +174,7 @@ void MainWindow::handleTabChanged(QWebEngineView *view)
void MainWindow::handleUrlChanged()
{
- tabBar->currentView()->load(QUrl::fromUserInput(urlLineEdit->text()));
+ tabBar->currentView()->load(urlLineEdit->url());
}
void MainWindow::handleTitleUpdated(const QString &title)