From e3772366504d6d05b4809013cb4f4149ca64c4d4 Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Wed, 9 Apr 2025 12:47:00 -0400 Subject: Shared cache and kernel cache UI cleanup. One day, these will share more code, but today is not quite that day. --- view/sharedcache/ui/symboltable.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'view/sharedcache/ui/symboltable.cpp') diff --git a/view/sharedcache/ui/symboltable.cpp b/view/sharedcache/ui/symboltable.cpp index 0b006fbc..1df7d529 100644 --- a/view/sharedcache/ui/symboltable.cpp +++ b/view/sharedcache/ui/symboltable.cpp @@ -102,7 +102,8 @@ void SymbolTableModel::setFilter(std::string text) if (((std::string_view)symbol.name).find(m_filter) != std::string::npos) m_modelSymbols.push_back(symbol); m_modelSymbols.shrink_to_fit(); - } else + } + else { m_modelSymbols = m_preparedSymbols; } @@ -112,7 +113,7 @@ void SymbolTableModel::setFilter(std::string text) SymbolTableView::SymbolTableView(QWidget* parent) - : m_model(new SymbolTableModel(this)) { + : QTableView(parent), m_model(new SymbolTableModel(this)) { // Set up the filter model setModel(m_model); -- cgit v1.3.1