aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-01-30 19:45:09 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-01-30 19:45:09 +0100
commit50f9adad0ffbe7d9176326ed8601148630ad1b61 (patch)
tree2f6c5d1edb2a048c236b948532dc1009e6a838bf /src/mainwindow.cpp
parentAdded UrlLineEdit class (diff)
downloadsmolbote-50f9adad0ffbe7d9176326ed8601148630ad1b61.tar.xz
Cleaned up UrlLineEdit
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)