diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-02-11 12:32:29 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-02-11 12:32:29 +0100 |
| commit | 6e912b760fbe5a88e2816da619b53e08883dcaab (patch) | |
| tree | 7624cf8f177dca80b2c9a0e29e5ac91dfcc8789d | |
| parent | 414e2efc51d27b788116d3f2bf541cad7f4ee925 (diff) | |
Fix build error on Ubuntu 16.04.
| -rw-r--r-- | src/tools/dcpomatic_editor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic_editor.cc b/src/tools/dcpomatic_editor.cc index a9fc43308..1ed7c940f 100644 --- a/src/tools/dcpomatic_editor.cc +++ b/src/tools/dcpomatic_editor.cc @@ -374,7 +374,7 @@ public: SetIcon(wxIcon(std_to_wx("id"))); #endif - Config::instance()->Changed.connect(boost::bind(&DOMFrame::config_changed, this, _1)); + Config::instance()->Changed.connect(boost::bind(&DOMFrame::config_changed, this)); Bind(wxEVT_MENU, boost::bind(&DOMFrame::file_open, this), ID_file_open); Bind(wxEVT_MENU, boost::bind(&DOMFrame::file_save, this), ID_file_save); @@ -415,7 +415,7 @@ public: } private: - void config_changed(Config::Property what) + void config_changed() { try { Config::instance()->write_config(); |
