summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormatgic78 <matgic78@gmail.com>2009-10-18 12:34:30 +0200
committermatgic78 <matgic78@gmail.com>2009-10-18 12:34:30 +0200
commitdacbe621f5d4418e2710968a424a9d134c33f36f (patch)
treef9985c3b97716f5bb08ee85efae7a9b5e32d1ee8 /src
parentMerge commit 'refs/merge-requests/1827' of git://gitorious.org/rekonq/mainlin... (diff)
downloadrekonq-dacbe621f5d4418e2710968a424a9d134c33f36f.tar.xz
fix a bug in default shortcut detection for urls
Diffstat (limited to 'src')
-rw-r--r--src/application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application.cpp b/src/application.cpp
index 69acf2f2..6648d800 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");