diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/webview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index fac98f71..45967430 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -215,7 +215,7 @@ void WebView::contextMenuEvent(QContextMenuEvent *event) { // page action QString text = selectedText(); - if (text.startsWith( QLatin1String("http://") ) || text.startsWith( QLatin1String("https://") )) + if (text.startsWith( QLatin1String("http://") ) || text.startsWith( QLatin1String("https://") ) || text.startsWith( QLatin1String("www.") ) ) { //open selected text url in a new tab a = new KAction(KIcon("tab-new"), i18n("Open: '") + text.toUtf8().left(15) + QString("...'"), this); |