From c38595ea02f83004ebd8fcb07ba5422d07de300d Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Wed, 6 Sep 2023 10:29:45 +0200 Subject: [PATCH] disable counts for regex queries, it is performance killer sadly --- src/librssguard/services/abstract/search.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librssguard/services/abstract/search.h b/src/librssguard/services/abstract/search.h index eb8f7657a..e9a89898f 100644 --- a/src/librssguard/services/abstract/search.h +++ b/src/librssguard/services/abstract/search.h @@ -41,8 +41,8 @@ class RSSGUARD_DLLSPEC Search : public RootItem { private: QString m_filter; QColor m_color; - int m_totalCount{}; - int m_unreadCount{}; + int m_totalCount = -1; + int m_unreadCount = -1; }; #endif // SEARCH_H