Valgrind: Use "Copy" instead of "Copy Selection"

There are no other copy related (menu) action, so it's clear that "Copy"
applies to the current selection.

Change-Id: I1042e6be2be79a7865fedeb0d84ea968ce4b41dd
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2014-11-25 10:10:16 +01:00
parent 96be6ae15f
commit 2efc022be8

View File

@@ -286,7 +286,7 @@ MemcheckErrorView::MemcheckErrorView(QWidget *parent)
setItemDelegate(delegate); setItemDelegate(delegate);
m_copyAction = new QAction(this); m_copyAction = new QAction(this);
m_copyAction->setText(tr("Copy Selection")); m_copyAction->setText(tr("Copy"));
m_copyAction->setIcon(QIcon(QLatin1String(Core::Constants::ICON_COPY))); m_copyAction->setIcon(QIcon(QLatin1String(Core::Constants::ICON_COPY)));
m_copyAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_C)); m_copyAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_C));
m_copyAction->setShortcutContext(Qt::WidgetWithChildrenShortcut); m_copyAction->setShortcutContext(Qt::WidgetWithChildrenShortcut);