diff options
Diffstat (limited to 'src/gui/PatchTreeWindow.cpp')
-rw-r--r-- | src/gui/PatchTreeWindow.cpp | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/gui/PatchTreeWindow.cpp b/src/gui/PatchTreeWindow.cpp index adb41a13..f4fb69b6 100644 --- a/src/gui/PatchTreeWindow.cpp +++ b/src/gui/PatchTreeWindow.cpp @@ -70,7 +70,8 @@ PatchTreeWindow::PatchTreeWindow(BaseObjectType* cobject, void PatchTreeWindow::init(ClientStore& store) { - store.signal_new_object.connect(sigc::mem_fun(this, &PatchTreeWindow::new_object)); + store.signal_new_object().connect( + sigc::mem_fun(this, &PatchTreeWindow::new_object)); } void @@ -109,17 +110,17 @@ PatchTreeWindow::add_patch(SharedPtr<PatchModel> pm) } } - pm->signal_property.connect(sigc::bind( - sigc::mem_fun(this, &PatchTreeWindow::patch_property_changed), - pm)); + pm->signal_property().connect( + sigc::bind(sigc::mem_fun(this, &PatchTreeWindow::patch_property_changed), + pm)); - pm->signal_moved.connect(sigc::bind( - sigc::mem_fun(this, &PatchTreeWindow::patch_moved), - pm)); + pm->signal_moved().connect( + sigc::bind(sigc::mem_fun(this, &PatchTreeWindow::patch_moved), + pm)); - pm->signal_destroyed.connect(sigc::bind( - sigc::mem_fun(this, &PatchTreeWindow::remove_patch), - pm)); + pm->signal_destroyed().connect( + sigc::bind(sigc::mem_fun(this, &PatchTreeWindow::remove_patch), + pm)); } void |