summaryrefslogtreecommitdiff
path: root/view/sharedcache/ui/symboltable.cpp
diff options
context:
space:
mode:
authorAlexander Taylor <alex@vector35.com>2025-04-09 12:47:00 -0400
committerAlexander Taylor <alex@vector35.com>2025-04-09 17:16:23 -0400
commite3772366504d6d05b4809013cb4f4149ca64c4d4 (patch)
treee3fcb0818bfede1a5f8fff0b1edd59422b517b67 /view/sharedcache/ui/symboltable.cpp
parentf78345462ebc25e0241d838f04104e5c6bfae863 (diff)
Shared cache and kernel cache UI cleanup.
One day, these will share more code, but today is not quite that day.
Diffstat (limited to 'view/sharedcache/ui/symboltable.cpp')
-rw-r--r--view/sharedcache/ui/symboltable.cpp5
1 files changed, 3 insertions, 2 deletions
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);