diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-05-21 09:28:45 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-06-06 23:48:27 +0200 |
commit | 3d0017226abe2f2b42787de12fea2ba7cdc668be (patch) | |
tree | a7bfdf7fd156f127945a8b491d47aa38c0e3c75f /src/webwindow | |
parent | Use webkit general font to render rekonq pages (diff) | |
download | rekonq-3d0017226abe2f2b42787de12fea2ba7cdc668be.tar.xz |
Move from about: to rekonq: protocol for our special links
Diffstat (limited to 'src/webwindow')
-rw-r--r-- | src/webwindow/webwindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/webwindow/webwindow.cpp b/src/webwindow/webwindow.cpp index a2854460..1a695f9c 100644 --- a/src/webwindow/webwindow.cpp +++ b/src/webwindow/webwindow.cpp @@ -949,13 +949,13 @@ void WebWindow::showCrashMessageBar() void WebWindow::openNewWindow() { - rApp->loadUrl(QUrl("about:home"), Rekonq::NewWindow); + rApp->loadUrl(QUrl("rekonq:home"), Rekonq::NewWindow); } void WebWindow::checkFocus() { - if (url().scheme() == QL1S("about")) + if (url().scheme() == QL1S("rekonq")) _bar->setFocus(); else _tab->view()->setFocus(); @@ -964,19 +964,19 @@ void WebWindow::checkFocus() void WebWindow::openDownloadsPage() { - rApp->loadUrl(QUrl("about:downloads"), Rekonq::NewFocusedTab); + rApp->loadUrl(QUrl("rekonq:downloads"), Rekonq::NewFocusedTab); } void WebWindow::openHistoryPage() { - rApp->loadUrl(QUrl("about:history"), Rekonq::NewFocusedTab); + rApp->loadUrl(QUrl("rekonq:history"), Rekonq::NewFocusedTab); } void WebWindow::openBookmarksPage() { - rApp->loadUrl(QUrl("about:bookmarks"), Rekonq::NewFocusedTab); + rApp->loadUrl(QUrl("rekonq:bookmarks"), Rekonq::NewFocusedTab); } |