summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-01-09 02:44:50 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-01-09 02:44:50 +0100
commita14af0874d4ceac743727af1665ea1d5f15839d9 (patch)
tree1bcfa9d51e54e76440be62916e54821d9b997643 /src/mainview.cpp
parentLast commit before loadPage REMOVAL.. (diff)
downloadrekonq-a14af0874d4ceac743727af1665ea1d5f15839d9.tar.xz
removed LoadPage method to semplify API
Now we have just loadUrl slot to run pages..
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();
+ }
}
}