From 5a42f64b471f52f57ff795145fd38189affbd57c Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 9 May 2025 21:07:31 +0200 Subject: Read and write ArchiveBrowser settings Preserve included and excluded genres. --- archivebrowsermodel.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'archivebrowsermodel.h') diff --git a/archivebrowsermodel.h b/archivebrowsermodel.h index 7074af4..b40258c 100644 --- a/archivebrowsermodel.h +++ b/archivebrowsermodel.h @@ -51,7 +51,10 @@ class ArchiveBrowserModelProxy : public QSortFilterProxyModel { Q_OBJECT public: explicit ArchiveBrowserModelProxy(QObject *parent = nullptr); - QStringList &genreFilters() { return mGenreFilters; } + const QStringList &genreFilters() const { return mGenreFilters; }; + const QStringList &exclucedGenreFilters() const { return mExcludedGenreFilters; }; + void readSettings(); + void writeSettings(); public slots: void setQualityFilter(QString quality); -- cgit v1.2.3-70-g09d2