From d145b50c178c4032e8f10f06af3e549bdd7b160c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mladen=20Pejakovi=C4=87?= Date: Fri, 24 Feb 2012 20:55:35 +0100 Subject: [PATCH] Cosmetic changes in webview context menu --- src/lib/webview/webview.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/webview/webview.cpp b/src/lib/webview/webview.cpp index 6d8c6c34a..8be7a6761 100644 --- a/src/lib/webview/webview.cpp +++ b/src/lib/webview/webview.cpp @@ -697,13 +697,14 @@ void WebView::createSelectedTextContextMenu(QMenu* menu, const QWebHitTestResult QUrl guessedUrl = QUrl::fromUserInput(selectedString); if (isUrlValid(guessedUrl)) { - Action* act = new Action(tr("Go to &web address")); + Action* act = new Action(QIcon::fromTheme("document-open-remote"), tr("Go to &web address")); act->setData(guessedUrl); connect(act, SIGNAL(triggered()), this, SLOT(openActionUrl())); connect(act, SIGNAL(middleClicked()), this, SLOT(openUrlInBackgroundTab())); menu->addAction(act); } + menu->addSeparator(); selectedText.truncate(20); SearchEngine engine = mApp->searchEnginesManager()->activeEngine();