mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
refactor to remove code duplication
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
9d25680587
commit
797cacf804
6 changed files with 33 additions and 62 deletions
|
|
@ -71,6 +71,10 @@ class FileIgnoreProxy : public QSortFilterProxyModel {
|
|||
|
||||
bool filterFile(const QString& fileName) const;
|
||||
|
||||
void loadBlockedPathsFromFile(const QString& fileName);
|
||||
|
||||
void saveBlockedPathsToFile(const QString& fileName);
|
||||
|
||||
protected:
|
||||
bool filterAcceptsColumn(int source_column, const QModelIndex& source_parent) const;
|
||||
bool filterAcceptsRow(int source_row, const QModelIndex& source_parent) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue