Skip to content

Commit

Permalink
ui: small perf optimization for process and filesystem view
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Dec 1, 2024
1 parent d08e914 commit 44f7dd9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class RecursiveFilterProxy : public QSortFilterProxyModel

protected:
QString m_textPattern;

int columnCount(const QModelIndex& parent = QModelIndex()) const override { return 1; }
bool filterAcceptsRow(int srcRow, const QModelIndex& srcParent) const override
{
if(filterAcceptsRowItself(srcRow, srcParent))
Expand Down

0 comments on commit 44f7dd9

Please sign in to comment.