diff options
author | matgic78 <matgic78@gmail.com> | 2009-10-18 12:34:30 +0200 |
---|---|---|
committer | matgic78 <matgic78@gmail.com> | 2009-10-18 12:34:30 +0200 |
commit | dacbe621f5d4418e2710968a424a9d134c33f36f (patch) | |
tree | f9985c3b97716f5bb08ee85efae7a9b5e32d1ee8 /src | |
parent | Merge commit 'refs/merge-requests/1827' of git://gitorious.org/rekonq/mainlin... (diff) | |
download | rekonq-dacbe621f5d4418e2710968a424a9d134c33f36f.tar.xz |
fix a bug in default shortcut detection for urls
Diffstat (limited to 'src')
-rw-r--r-- | src/application.cpp | 2 |
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"); |