From 106c682c03eb48b7248f05bc932cd7dbb9aac35b Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 18 Feb 2019 12:43:34 -0800 Subject: Desktop: track if the filter widget is active This is not perfect - if you open the filter, set some criterion and then remove it again (without resetting the filter), this variable will give you a false positive). Signed-off-by: Dirk Hohndel --- desktop-widgets/filterwidget2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop-widgets/filterwidget2.h') diff --git a/desktop-widgets/filterwidget2.h b/desktop-widgets/filterwidget2.h index e07259de7..d974fb78f 100644 --- a/desktop-widgets/filterwidget2.h +++ b/desktop-widgets/filterwidget2.h @@ -35,6 +35,7 @@ private slots: private: bool ignoreSignal; + bool isActive() const; Ui::FilterWidget2 ui; void filterDataChanged(const FilterData &data); FilterData filterData; -- cgit v1.2.3-70-g09d2