summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-10 16:14:11 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-10 16:14:11 +0100
commit8257f3980e77ddf568c4f286de11c5a73bc7c27f (patch)
treed6c45320e1face3c9e75dffca100e29ec68bba42 /src/mainwindow.cpp
parentChanging homepage.* --> newtabpage.* and fixing API (diff)
downloadrekonq-8257f3980e77ddf568c4f286de11c5a73bc7c27f.tar.xz
switching back from rekonq: protocol to about: one
This is the more logical solution and let rekonq working also with the upcoming Qt4.6. (QWebView::setHtml() trouble) Anyway we have a little regression in the urlbar clean && select
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 28993fde..770df91d 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1113,11 +1113,11 @@ void MainWindow::openActionUrl(QAction *action)
bool MainWindow::newTabPage(const KUrl &url)
{
- if ( url == KUrl("rekonq:closedTabs")
- || url == KUrl("rekonq:history")
- || url == KUrl("rekonq:bookmarks")
- || url == KUrl("rekonq:favorites")
- || url == KUrl("rekonq:home")
+ if ( url == KUrl("about:closedTabs")
+ || url == KUrl("about:history")
+ || url == KUrl("about:bookmarks")
+ || url == KUrl("about:favorites")
+ || url == KUrl("about:home")
)
{
kDebug() << "loading home: " << url;