Skip to content

Commit

Permalink
Add regex search capability to by-file page too
Browse files Browse the repository at this point in the history
Fixes FTBFS
  • Loading branch information
milianw committed Nov 18, 2024
1 parent 9da82e4 commit 8a4380d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/resultsbyfilepage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ResultsByFilePage::ResultsByFilePage(FilterAndZoomStack* filterStack, PerfParser
m_byFileProxy = new CallerCalleeProxy<ByFileModel>(this);
m_byFileProxy->setSourceModel(m_byFileCostModel);
m_byFileProxy->setSortRole(ByFileModel::SortRole);
ResultsUtil::connectFilter(ui->byFileFilter, m_byFileProxy);
ResultsUtil::connectFilter(ui->byFileFilter, m_byFileProxy, ui->regexCheckBox);
ui->byFileTableView->setSortingEnabled(true);
ui->byFileTableView->setModel(m_byFileProxy);
ResultsUtil::setupHeaderView(ui->byFileTableView, contextMenu);
Expand Down
7 changes: 7 additions & 0 deletions src/resultsbyfilepage.ui
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="regexCheckBox">
<property name="text">
<string>Regex Search</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
Expand Down

0 comments on commit 8a4380d

Please sign in to comment.