summaryrefslogtreecommitdiff
path: root/src/homepage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/homepage.cpp')
-rw-r--r--src/homepage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/homepage.cpp b/src/homepage.cpp
index bfbf0400..723e670c 100644
--- a/src/homepage.cpp
+++ b/src/homepage.cpp
@@ -75,13 +75,13 @@ QString HomePage::rekonqHomePage(const KUrl &url)
QString menu = homePageMenu();
QString speed;
- if(url == KUrl("about:lastSites"))
+ if(url == KUrl("rekonq:lastSites"))
speed = lastVisitedSites();
- if(url == KUrl("about:history"))
+ if(url == KUrl("rekonq:history"))
speed = fillHistory();
- if(url == KUrl("about:bookmarks"))
+ if(url == KUrl("rekonq:bookmarks"))
speed = fillBookmarks();
- if(url == KUrl("about:home") || url == KUrl("about:favorites"))
+ if(url == KUrl("rekonq:home") || url == KUrl("rekonq:favorites"))
speed = fillFavorites();
QString html = QString(QLatin1String(file.readAll()))
@@ -163,10 +163,10 @@ QString HomePage::lastVisitedSites()
QString HomePage::homePageMenu()
{
QString menu = "";
- menu += "<div class=\"link\"><a href=\"about:lastSites\">Last Visited Sites</a></div>";
- menu += "<div class=\"link\"><a href=\"about:history\">History</a></div>";
- menu += "<div class=\"link\"><a href=\"about:bookmarks\">Bookmarks</a></div>";
- menu += "<div class=\"link\"><a href=\"about:favorites\">Favorites</a></div>";
+ menu += "<div class=\"link\"><a href=\"rekonq:lastSites\">Last Visited Sites</a></div>";
+ menu += "<div class=\"link\"><a href=\"rekonq:history\">History</a></div>";
+ menu += "<div class=\"link\"><a href=\"rekonq:bookmarks\">Bookmarks</a></div>";
+ menu += "<div class=\"link\"><a href=\"rekonq:favorites\">Favorites</a></div>";
return menu;
}