forked from qt-creator/qt-creator
Finding: Add a period to the end of an error message
Change-Id: I9b10ad5af08d5d9e97fa1511e3a066f499440cb5 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -47,7 +47,7 @@ static bool validateRegExp(Utils::FancyLineEdit *edit, QString *errorMessage)
|
|||||||
{
|
{
|
||||||
if (edit->text().isEmpty()) {
|
if (edit->text().isEmpty()) {
|
||||||
if (errorMessage)
|
if (errorMessage)
|
||||||
*errorMessage = FindToolWindow::tr("Empty search term");
|
*errorMessage = FindToolWindow::tr("Empty search term.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (Find::hasFindFlag(FindRegularExpression)) {
|
if (Find::hasFindFlag(FindRegularExpression)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user