From d2f00e43420e2ed498b3c4cdfe737b9355731fd6 Mon Sep 17 00:00:00 2001 From: Benjamin Poulain Date: Wed, 11 Aug 2010 13:15:59 +0200 Subject: 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). --- src/newtabpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newtabpage.cpp') 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 -- cgit v1.2.1