diff options
author | megabigbug <megabigbug@arrakis.(none)> | 2009-07-27 19:43:18 +0200 |
---|---|---|
committer | megabigbug <megabigbug@arrakis.(none)> | 2009-07-27 19:43:18 +0200 |
commit | eb86af98a8eaa8bdaecfe19eed14f531ff27e0a1 (patch) | |
tree | 44597241b7127e1b6c668b9f8c7aa7e347ccbb48 /src | |
parent | copy paste from khtml_ext.cpp: (diff) | |
download | rekonq-eb86af98a8eaa8bdaecfe19eed14f531ff27e0a1.tar.xz |
Fix // bug
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp index 4213e276..c49892b7 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -268,13 +268,14 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type) if (loadingUrl.isRelative()) { QString fn = loadingUrl.url(KUrl::RemoveTrailingSlash); - loadingUrl.setUrl("//" + fn); if(loadingUrl.path().contains('.')) { + loadingUrl.setUrl("//" + fn); loadingUrl.setScheme("http"); } else { + loadingUrl.setUrl(fn); loadingUrl.setScheme("gg"); } } |