summaryrefslogtreecommitdiff
path: root/src/wx/hints_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-20 12:20:31 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-21 00:52:07 +0200
commitfd130fc0b0c7421c7b1af613ff1f31ba3fc4f03b (patch)
tree0c71c5943d7a828d88843a005bd8b1608b868c83 /src/wx/hints_dialog.cc
parent2b38e2bb56be58db90577c42ec9f2f7586fb8e1c (diff)
Handle connections to the Hints object more correctly.
Diffstat (limited to 'src/wx/hints_dialog.cc')
-rw-r--r--src/wx/hints_dialog.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/hints_dialog.cc b/src/wx/hints_dialog.cc
index db576da16..2ab28fa6c 100644
--- a/src/wx/hints_dialog.cc
+++ b/src/wx/hints_dialog.cc
@@ -117,10 +117,10 @@ HintsDialog::film_change (ChangeType type)
_finished = false;
_hints.reset (new Hints (_film));
- _hints->Hint.connect (bind (&HintsDialog::hint, this, _1));
- _hints->Progress.connect (bind (&HintsDialog::progress, this, _1));
- _hints->Pulse.connect (bind (&HintsDialog::pulse, this));
- _hints->Finished.connect (bind (&HintsDialog::finished, this));
+ _hints_hint_connection = _hints->Hint.connect(bind(&HintsDialog::hint, this, _1));
+ _hints_progress_connection = _hints->Progress.connect(bind(&HintsDialog::progress, this, _1));
+ _hints_pulse_connection = _hints->Pulse.connect(bind(&HintsDialog::pulse, this));
+ _hints_finished_connection = _hints->Finished.connect(bind(&HintsDialog::finished, this));
_hints->start ();
}