summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/application.cpp3
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");
}
}