diff options
author | David Robillard <d@drobilla.net> | 2011-12-02 05:27:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-02 05:27:36 +0000 |
commit | 9e667623767be67458396cc96807ee4a64e4e7c7 (patch) | |
tree | f23e366d8ed74243ef2e7ea81b044f17a47bef27 | |
parent | ac472a5510b477085020e608a5bee5e8cd3816c8 (diff) | |
download | ingen-9e667623767be67458396cc96807ee4a64e4e7c7.tar.gz ingen-9e667623767be67458396cc96807ee4a64e4e7c7.tar.bz2 ingen-9e667623767be67458396cc96807ee4a64e4e7c7.zip |
Remove Shape::store_location() in favour of Joinable::signal_moved.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3747 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/gui/NodeModule.cpp | 3 | ||||
-rw-r--r-- | src/gui/PatchPortModule.cpp | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index cc816872..108cc2e4 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -61,6 +61,9 @@ NodeModule::NodeModule(PatchCanvas& canvas, node->signal_moved().connect( sigc::mem_fun(this, &NodeModule::rename)); + signal_moved.connect( + sigc::mem_fun(this, &NodeModule::store_location)); + const PluginModel* plugin = dynamic_cast<const PluginModel*>(node->plugin()); if (plugin) { plugin->signal_changed().connect( diff --git a/src/gui/PatchPortModule.cpp b/src/gui/PatchPortModule.cpp index ef886ddd..98326402 100644 --- a/src/gui/PatchPortModule.cpp +++ b/src/gui/PatchPortModule.cpp @@ -51,6 +51,9 @@ PatchPortModule::PatchPortModule(PatchCanvas& canvas, model->signal_property().connect( sigc::mem_fun(this, &PatchPortModule::property_changed)); + + signal_moved.connect( + sigc::mem_fun(this, &PatchPortModule::store_location)); } PatchPortModule* |