diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-01-09 02:44:50 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-01-09 02:44:50 +0100 |
commit | a14af0874d4ceac743727af1665ea1d5f15839d9 (patch) | |
tree | 1bcfa9d51e54e76440be62916e54821d9b997643 /src/mainview.cpp | |
parent | Last commit before loadPage REMOVAL.. (diff) | |
download | rekonq-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.cpp | 4 |
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(); + } } } |