summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/filterwidget2.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-01-17 23:01:57 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-19 13:59:24 -0800
commit424f1e98af6c8b868305fc3dcbe44118fd780ce7 (patch)
tree3916bf65bfa9fb2ce8d2f82ac1d39c80c10eda43 /desktop-widgets/filterwidget2.h
parented09e6a9097546de33dc48e4af1390efd37adda5 (diff)
downloadsubsurface-424f1e98af6c8b868305fc3dcbe44118fd780ce7.tar.gz
Filter widget: make Ui class subobject of widget
Commit 8e81d3f10087fa7ac600dcb18cfebf27716c4209 changed a bunch of Ui classes to be subobject of the widget. For consistency do the same with the filter widget. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/filterwidget2.h')
-rw-r--r--desktop-widgets/filterwidget2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/filterwidget2.h b/desktop-widgets/filterwidget2.h
index 36f818500..f8bdf4274 100644
--- a/desktop-widgets/filterwidget2.h
+++ b/desktop-widgets/filterwidget2.h
@@ -29,7 +29,7 @@ public slots:
void updateLogged(int value);
private:
- std::unique_ptr<Ui::FilterWidget2> ui;
+ Ui::FilterWidget2 ui;
void filterDataChanged(const FilterData &data);
FilterData filterData;
};