summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-04-10 00:35:01 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-04-10 00:35:01 +0200
commit23d65a3a5c1e6c0e2501d41ae0660c89085dbb84 (patch)
tree1050cbef7b0213ceefa4041e453ae04b71295928 /src/urlbar
parentMerge commit 'refs/merge-requests/120' of git://gitorious.org/rekonq/mainline... (diff)
downloadrekonq-23d65a3a5c1e6c0e2501d41ae0660c89085dbb84.tar.xz
Fix focus problems and trim search strings (fix encodings problems, step 1)
Diffstat (limited to 'src/urlbar')
-rw-r--r--src/urlbar/urlbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index adc011f0..6f916482 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -112,7 +112,7 @@ void UrlBar::activated(const QString& urlString, Rekonq::OpenType type)
clearFocus();
setText(urlString);
- Application::instance()->loadUrl(urlString, type);
+ Application::instance()->loadUrl(urlString.trimmed(), type);
}