forked from qt-creator/qt-creator
Git: Shorten grep tree description
Task-number: QTCREATORBUG-15743 Change-Id: I2f18bef84a8284d03d68797d1fb70165df6628d4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
a8c2abeaa5
commit
2d4ea0b623
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user