diff options
author | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-08-11 13:15:59 +0200 |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2010-08-11 15:23:57 +0200 |
commit | d2f00e43420e2ed498b3c4cdfe737b9355731fd6 (patch) | |
tree | c436d1c8eb20c0c5ccc68ef2caa58de850ff16ed | |
parent | Modify NewTabPage::browsingMenu() to use explicit text encoding. (diff) | |
download | rekonq-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.cpp | 2 |
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 ¤tUrl) 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 |