diff options
| author | Orgad Shaneh <[email protected]> | 2016-02-15 22:54:42 +0200 |
|---|---|---|
| committer | Orgad Shaneh <[email protected]> | 2016-02-16 07:52:12 +0000 |
| commit | 2d4ea0b623aee7b705fab2053d7eb3c6c0fbe6c7 (patch) | |
| tree | f60c8c774af7d3b800aff148574830fa2d23c6ab /src/plugins/git/gitgrep.cpp | |
| parent | a8c2abeaa586302507212630349186c34374937a (diff) | |
Git: Shorten grep tree description
Task-number: QTCREATORBUG-15743
Change-Id: I2f18bef84a8284d03d68797d1fb70165df6628d4
Reviewed-by: Leena Miettinen <[email protected]>
Diffstat (limited to 'src/plugins/git/gitgrep.cpp')
| -rw-r--r-- | src/plugins/git/gitgrep.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/git/gitgrep.cpp b/src/plugins/git/gitgrep.cpp index f269947fbd2..47622198d98 100644 --- a/src/plugins/git/gitgrep.cpp +++ b/src/plugins/git/gitgrep.cpp @@ -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); |
