Skip to content

Commit 286e071

Browse files
committed
Use better wording for subexpressions in event browser filter
1 parent 9b05320 commit 286e071

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

qrenderdoc/Windows/EventBrowser.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3344,7 +3344,7 @@ ParseTrace EventFilterModel::ParseExpressionToFilters(QString expr, rdcarray<Eve
33443344

33453345
subexpr.matchType = matchType;
33463346
subexpr.function = true;
3347-
subexpr.name = lit("$any$");
3347+
subexpr.name = lit("$subexp$");
33483348
subexpr.params = params;
33493349

33503350
subexpr.position = trace.position;
@@ -5127,9 +5127,9 @@ void EventBrowser::AddFilterExplanations(RDTreeWidgetItem *root, QVector<FilterE
51275127
{
51285128
explanation += tr("Name matches '%1'").arg(f.name);
51295129
}
5130-
else if(f.name == lit("$any$"))
5130+
else if(f.name == lit("$subexp$"))
51315131
{
5132-
explanation += tr("Any of...");
5132+
explanation += tr("Match against...");
51335133
}
51345134
else
51355135
{

qrenderdoc/Windows/EventBrowser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ struct FilterExpression
8080

8181
QString printName() const
8282
{
83-
if(name == lit("$any$"))
83+
if(name == lit("$subexp$"))
8484
return lit("(...)");
8585
if(function)
8686
return QFormatStr("$%1(%2)").arg(name).arg(params);

0 commit comments

Comments
 (0)