diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-30 19:45:09 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-01-30 19:45:09 +0100 |
commit | 50f9adad0ffbe7d9176326ed8601148630ad1b61 (patch) | |
tree | 2f6c5d1edb2a048c236b948532dc1009e6a838bf /src/mainwindow.cpp | |
parent | Added UrlLineEdit class (diff) | |
download | smolbote-50f9adad0ffbe7d9176326ed8601148630ad1b61.tar.xz |
Cleaned up UrlLineEdit
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 2 |
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) |