diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-06-15 19:22:38 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-06-15 19:22:38 +0200 |
commit | f7fbd557abc45292d2f43ba21229267f314265cf (patch) | |
tree | c2d251ab8eaeb5b16579967dd113f52d817dc888 | |
parent | Let analyzer panel columns to be resizable. (diff) | |
parent | strip whitespaces from the start and the end of a selection (diff) | |
download | rekonq-f7fbd557abc45292d2f43ba21229267f314265cf.tar.xz |
Merge commit 'refs/merge-requests/139' of git://gitorious.org/rekonq/mainline
-rw-r--r-- | src/webview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index 7fc1b4b8..afa63028 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -216,6 +216,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event) { QString text = selectedText(); + text = text.trimmed(); if (text.startsWith(QL1S("http://")) || text.startsWith(QL1S("https://")) || text.startsWith(QL1S("www.")) |