diff options
| author | Panagiotis Papadopoulos <pano_90@gmx.net> | 2010-06-13 13:21:21 +0200 | 
|---|---|---|
| committer | Panagiotis Papadopoulos <pano_90@gmx.net> | 2010-06-13 13:21:21 +0200 | 
| commit | 010b0f1d44134977a7f471679b2a3fc1b71df590 (patch) | |
| tree | 79c9ef1b8f0b1b8cf9713b2dd71e44e20ab4138b | |
| parent | Fix the add bookmark action of the WebView context menu (diff) | |
| download | rekonq-010b0f1d44134977a7f471679b2a3fc1b71df590.tar.xz | |
strip whitespaces from the start and the end of a selection
BUG: 241564
| -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 0633bc9b..9efd3a8c 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -201,6 +201,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."))  | 
