From 8a4380d78332a818aed97d2059e40ce896568bd4 Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Mon, 18 Nov 2024 20:12:21 +0100 Subject: [PATCH] Add regex search capability to by-file page too Fixes FTBFS --- src/resultsbyfilepage.cpp | 2 +- src/resultsbyfilepage.ui | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/resultsbyfilepage.cpp b/src/resultsbyfilepage.cpp index 3bae0154..59c1e923 100644 --- a/src/resultsbyfilepage.cpp +++ b/src/resultsbyfilepage.cpp @@ -68,7 +68,7 @@ ResultsByFilePage::ResultsByFilePage(FilterAndZoomStack* filterStack, PerfParser m_byFileProxy = new CallerCalleeProxy(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); diff --git a/src/resultsbyfilepage.ui b/src/resultsbyfilepage.ui index 9a1d035e..4cd02b9b 100644 --- a/src/resultsbyfilepage.ui +++ b/src/resultsbyfilepage.ui @@ -71,6 +71,13 @@ + + + + Regex Search + + +