Commit 2d4ea0b6 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Git: Shorten grep tree description

Task-number: QTCREATORBUG-15743
Change-Id: I2f18bef84a8284d03d68797d1fb70165df6628d4
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>
parent a8c2abea
......@@ -208,10 +208,9 @@ GitGrep::GitGrep()
"that are managed by Git."));
layout->addWidget(m_enabledCheckBox);
m_treeLineEdit = new FancyLineEdit;
m_treeLineEdit->setPlaceholderText(
tr("Tree: add reference here or leave empty to search through the file system)"));
m_treeLineEdit->setToolTip(
tr("Reference can be HEAD, tag, local or remote branch, or a commit hash."));
m_treeLineEdit->setPlaceholderText(tr("Tree (optional)"));
m_treeLineEdit->setToolTip(tr("Can be HEAD, tag, local or remote branch, or a commit hash.\n"
"Leave empty to search through the file system."));
const QRegularExpression refExpression(QLatin1String("[\\S]*"));
m_treeLineEdit->setValidator(new QRegularExpressionValidator(refExpression, this));
layout->addWidget(m_treeLineEdit);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment