summaryrefslogtreecommitdiff
path: root/src/plugins/valgrind/callgrindtool.cpp
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>2016-04-05 15:11:30 +0200
committerLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>2016-04-05 13:41:20 +0000
commit1b62a10a35e6b0c00cf24d4969e4b17ca380e444 (patch)
tree2fbfdb32481406a5dc0db235eef90bbd89c9dc59 /src/plugins/valgrind/callgrindtool.cpp
parente022d8025d84799613283fc5d953fd595ff40488 (diff)
downloadqt-creator-1b62a10a35e6b0c00cf24d4969e4b17ca380e444.tar.gz
Valgrind: Fix UI text
- Fix typo in product name - Fix grammar issue - Use standard phrasing - Fix capitalization Change-Id: I0456c60943b51b19d5f03fb2908a7cc5af1f3595 Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/plugins/valgrind/callgrindtool.cpp')
-rw-r--r--src/plugins/valgrind/callgrindtool.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/valgrind/callgrindtool.cpp b/src/plugins/valgrind/callgrindtool.cpp
index 246fe18883..0caf1cad0e 100644
--- a/src/plugins/valgrind/callgrindtool.cpp
+++ b/src/plugins/valgrind/callgrindtool.cpp
@@ -239,7 +239,7 @@ CallgrindTool::CallgrindTool(QObject *parent)
m_stopAction = Debugger::createStopAction();
ActionDescription desc;
- desc.setToolTip(tr("Valgrind Function Profile uses the "
+ desc.setToolTip(tr("Valgrind Function Profiler uses the "
"Callgrind tool to record function calls when a program runs."));
if (!Utils::HostOsInfo::isWindowsHost()) {
@@ -431,7 +431,7 @@ CallgrindTool::CallgrindTool(QObject *parent)
// Show costs relative to parent
m_costRelativeToParent = new QAction(tr("Relative Costs to Parent"), this);
- m_costRelativeToParent->setToolTip(tr("Show costs relative to parent functions inclusive cost."));
+ m_costRelativeToParent->setToolTip(tr("Show costs relative to parent function's inclusive cost."));
m_costRelativeToParent->setCheckable(true);
connect(m_costRelativeToParent, &QAction::toggled, this, &CallgrindTool::updateCostFormat);
group->addAction(m_costRelativeToParent);
@@ -456,7 +456,7 @@ CallgrindTool::CallgrindTool(QObject *parent)
// Shorter template signature
action = m_shortenTemplates = new QAction(QLatin1String("<>"), this);
- action->setToolTip(tr("This removes template parameter lists when displaying function names."));
+ action->setToolTip(tr("Remove template parameter lists when displaying function names."));
action->setCheckable(true);
connect(action, &QAction::toggled, &m_dataModel, &DataModel::setShortenTemplates);
connect(action, &QAction::toggled, settings, &ValgrindGlobalSettings::setShortenTemplates);
@@ -850,7 +850,7 @@ void CallgrindTool::requestContextMenu(TextEditorWidget *widget, int line, QMenu
foreach (CallgrindTextMark *textMark, m_textMarks) {
if (textMark->fileName() == widget->textDocument()->filePath().toString() && textMark->lineNumber() == line) {
const Function *func = textMark->function();
- QAction *action = menu->addAction(tr("Select this Function in the Analyzer Output"));
+ QAction *action = menu->addAction(tr("Select This Function in the Analyzer Output"));
connect(action, &QAction::triggered, this, [this, func] { selectFunction(func); });
break;
}