summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-11 13:15:59 +0200
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-11 15:23:57 +0200
commitd2f00e43420e2ed498b3c4cdfe737b9355731fd6 (patch)
treec436d1c8eb20c0c5ccc68ef2caa58de850ff16ed
parentModify NewTabPage::browsingMenu() to use explicit text encoding. (diff)
downloadrekonq-d2f00e43420e2ed498b3c4cdfe737b9355731fd6.tar.xz
Fix the file scheme of NewTabPage::browsingMenu()
The path added to the scheme is already supposed to be an absolute path, so starting with a '/'. By putting three slashes for the scheme, the final path has four /, which is not a valid url (legacy url).
-rw-r--r--src/newtabpage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newtabpage.cpp b/src/newtabpage.cpp
index 4217bf89..7711d2e7 100644
--- a/src/newtabpage.cpp
+++ b/src/newtabpage.cpp
@@ -352,7 +352,7 @@ void NewTabPage::browsingMenu(const KUrl &currentUrl)
const QString spanTagString(QLatin1String("span"));
const QString hrefAttributeString(QLatin1String("href"));
const QString srcAttributeString(QLatin1String("src"));
- const QString fileSchemeString(QLatin1String("file:///"));
+ const QString fileSchemeString(QLatin1String("file://"));
// Favorites