diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-10-02 16:20:18 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-10-02 16:20:18 +0200 |
commit | 79e11d892e2ff26636a647e91371aaef2c5d435d (patch) | |
tree | 48148f714597b96541f6feecb877fd6d31f1eff2 /src/application.cpp | |
parent | Simpler KIO management (no more metadata) (diff) | |
download | rekonq-79e11d892e2ff26636a647e91371aaef2c5d435d.tar.xz |
moving from about: protocol to rekonq: protocol :D
This fix some issues, about some "stupid" sites whose js
sends strange "about:blank" requests (just found 2!!)
Diffstat (limited to 'src/application.cpp')
-rw-r--r-- | src/application.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/application.cpp b/src/application.cpp index bffcb2ae..a7ac47ce 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -420,11 +420,11 @@ MainWindowList Application::mainWindowList() bool Application::homePage(const KUrl &url) { - if ( url == KUrl("about:lastSites") - || url == KUrl("about:history") - || url == KUrl("about:bookmarks") - || url == KUrl("about:favorites") - || url == KUrl("about:home") + if ( url == KUrl("rekonq:lastSites") + || url == KUrl("rekonq:history") + || url == KUrl("rekonq:bookmarks") + || url == KUrl("rekonq:favorites") + || url == KUrl("rekonq:home") ) { kDebug() << "loading home: " << url; |