summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 79cb865d..d4318cdf 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -477,9 +477,11 @@ void MainView::lineEditReturnPressed()
{
if (QLineEdit *lineEdit = qobject_cast<QLineEdit*>(sender()))
{
- emit loadPage(lineEdit->text());
+ emit loadUrlPage( KUrl( lineEdit->text() ) );
if (m_lineEdits->currentWidget() == lineEdit)
+ {
currentWebView()->setFocus();
+ }
}
}