diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-12-16 20:33:37 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-01-19 13:59:24 -0800 |
commit | cc0c4ab2f16612a145064887614e3f86fe125209 (patch) | |
tree | 2b092836ebc2db2501a3b1f5d046a1facf2aec88 /desktop-widgets/filterwidget2.h | |
parent | 891fcbf520f28ef6016d6171eba83c6773efca00 (diff) | |
download | subsurface-cc0c4ab2f16612a145064887614e3f86fe125209.tar.gz |
Filter: connect widget and filter
In the latest version of the new filter-widget the connection
between widget and filter was lost. Connect both - but use a
simple function call instead of a signal, since it is not
immediately obivous where the connection should be made.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/filterwidget2.h')
-rw-r--r-- | desktop-widgets/filterwidget2.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/desktop-widgets/filterwidget2.h b/desktop-widgets/filterwidget2.h index fba012095..36f818500 100644 --- a/desktop-widgets/filterwidget2.h +++ b/desktop-widgets/filterwidget2.h @@ -24,17 +24,13 @@ protected: void hideEvent(QHideEvent *event) override; void showEvent(QShowEvent *event) override; -signals: - void filterDataChanged(const FilterData& data); - public slots: void updatePlanned(int value); void updateLogged(int value); - - private: std::unique_ptr<Ui::FilterWidget2> ui; + void filterDataChanged(const FilterData &data); FilterData filterData; }; |