From 280c75090cb518f0f1a4e2b470a7722f95b9c9ab Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 17 Feb 2018 19:29:41 +0100 Subject: Make filtering useful Add a custom QSortFilterProxyModel which filterAcceptsRow() returns true if the uppermost parent matches the filter RegExp. --- BeetPlayer.pro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'BeetPlayer.pro') diff --git a/BeetPlayer.pro b/BeetPlayer.pro index 66d9073..37d9542 100644 --- a/BeetPlayer.pro +++ b/BeetPlayer.pro @@ -41,7 +41,8 @@ SOURCES += main.cpp\ collectiondatesview.cpp \ collectionfavoritesview.cpp \ collectionwebradioview.cpp \ - collectionfoldersview.cpp + collectionfoldersview.cpp \ + collectionwidgetproxy.cpp HEADERS += beetplayer.h \ configurationdialog.h \ @@ -59,7 +60,8 @@ HEADERS += beetplayer.h \ collectiondatesview.h \ collectionfavoritesview.h \ collectionwebradioview.h \ - collectionfoldersview.h + collectionfoldersview.h \ + collectionwidgetproxy.h LIBS += -ltag -- cgit v1.2.3-70-g09d2