summaryrefslogtreecommitdiff
path: root/src/application.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-10-19 10:43:48 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-10-19 10:43:48 +0200
commit6ccb930fab2ec570ee28445c1bb358157ef62a83 (patch)
treef52f5d7c466c39730281bb2230d111e5029bde27 /src/application.cpp
parentMerge commit 'refs/merge-requests/1833' of git://gitorious.org/rekonq/mainline (diff)
parentfix a bug in default shortcut detection for urls (diff)
downloadrekonq-6ccb930fab2ec570ee28445c1bb358157ef62a83.tar.xz
Merge commit 'refs/merge-requests/1838' of git://gitorious.org/rekonq/mainline into Mon3
Diffstat (limited to 'src/application.cpp')
-rw-r--r--src/application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp
index d2c07a8e..fdc105c9 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -344,7 +344,7 @@ void Application::loadUrl(const KUrl& url, const Rekonq::OpenType& type)
if (loadingUrl.isRelative())
{
QString fn = loadingUrl.url(KUrl::RemoveTrailingSlash);
- if(loadingUrl.path().contains('.'))
+ if(loadingUrl.path().contains('.') && !loadingUrl.path().contains(' '))
{
loadingUrl.setUrl("//" + fn);
loadingUrl.setScheme("http");