From 9e667623767be67458396cc96807ee4a64e4e7c7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 2 Dec 2011 05:27:36 +0000 Subject: 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 --- src/gui/NodeModule.cpp | 3 +++ src/gui/PatchPortModule.cpp | 3 +++ 2 files changed, 6 insertions(+) (limited to 'src') 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(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* -- cgit v1.2.1