summaryrefslogtreecommitdiff
path: root/src/application.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/application.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/application.cpp')
-rw-r--r--src/application.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 869c23c8..0dfc478f 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -262,13 +262,13 @@ KIcon Application::icon(const KUrl &url)
if(!Application::instance()->mainWindowList().isEmpty()) // avoid infinite loop at startup
{
- if(url == KUrl("rekonq:closedTabs"))
+ if(url == KUrl("about:closedTabs"))
return KIcon("tab-close");
- if(url == KUrl("rekonq:history"))
+ if(url == KUrl("about:history"))
return KIcon("view-history");
- if(url == KUrl("rekonq:bookmarks"))
+ if(url == KUrl("about:bookmarks"))
return KIcon("bookmarks");
- if(url == KUrl("rekonq:home") || url == KUrl("rekonq:favorites"))
+ if(url == KUrl("about:home") || url == KUrl("about:favorites"))
return KIcon("emblem-favorite");
}