diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-29 10:37:15 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-29 13:18:30 +0200 |
commit | 3657d2c0d9807d6f88378981513a944cce4a1a16 (patch) | |
tree | 37f395ff7ace066ac6cdfaaba08bd200741fff14 /gui/curve-config.h | |
parent | ee7dbf946a77450e8bf49ea4b64e9b922a951c1f (diff) |
logic, gui: no need to reference "struct main_settings"
Now that "struct main_settings" doesn't implicitly reload in dtor, we no
longer have to pass it around from the user interface.
Only reload it where it's modified, i.e. in the options dialog. Changing
the filter/dialog/mapping comboboxen implicitly saves the main options
however.
Diffstat (limited to 'gui/curve-config.h')
-rw-r--r-- | gui/curve-config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/curve-config.h b/gui/curve-config.h index 9a9475b9..04a25ab4 100644 --- a/gui/curve-config.h +++ b/gui/curve-config.h @@ -7,7 +7,7 @@ class MapWidget: public QWidget { Q_OBJECT public: - MapWidget(Mappings &m, main_settings &s); + MapWidget(Mappings &m); private: Ui::UICCurveConfigurationDialog ui; Mappings& m; |