Only select some paths by default - again!

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2023-03-08 18:10:52 +00:00
parent 5d5fcae501
commit 2cc9b0df06
3 changed files with 18 additions and 7 deletions

View File

@ -60,7 +60,8 @@ class FileIgnoreProxy : public QSortFilterProxyModel {
void setBlockedPaths(QStringList paths);
const SeparatorPrefixTree<'/'>& blockedPaths() const;
inline const SeparatorPrefixTree<'/'>& blockedPaths() const { return blocked; }
inline SeparatorPrefixTree<'/'>& blockedPaths() { return blocked; }
protected:
bool filterAcceptsColumn(int source_column, const QModelIndex& source_parent) const;