diff options
Diffstat (limited to 'src/progs/ingenuity/PatchWindow.cpp')
-rw-r--r-- | src/progs/ingenuity/PatchWindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/ingenuity/PatchWindow.cpp b/src/progs/ingenuity/PatchWindow.cpp index 2ca3da14..11881e59 100644 --- a/src/progs/ingenuity/PatchWindow.cpp +++ b/src/progs/ingenuity/PatchWindow.cpp @@ -139,13 +139,13 @@ PatchWindow::~PatchWindow() /** Set the patch controller from a Path (for use by eg. BreadCrumbBox) */ void -PatchWindow::set_patch_from_path(const Path& path, CountedPtr<PatchView> view) +PatchWindow::set_patch_from_path(const Path& path, SharedPtr<PatchView> view) { if (view) { assert(view->patch()->path() == path); App::instance().window_factory()->present_patch(view->patch(), this, view); } else { - CountedPtr<PatchModel> model = PtrCast<PatchModel>(App::instance().store()->object(path)); + SharedPtr<PatchModel> model = PtrCast<PatchModel>(App::instance().store()->object(path)); if (model) App::instance().window_factory()->present_patch(model, this); } @@ -157,7 +157,7 @@ PatchWindow::set_patch_from_path(const Path& path, CountedPtr<PatchView> view) * If @a view is NULL, a new view will be created. */ void -PatchWindow::set_patch(CountedPtr<PatchModel> patch, CountedPtr<PatchView> view) +PatchWindow::set_patch(SharedPtr<PatchModel> patch, SharedPtr<PatchView> view) { if (!patch || patch == m_patch) return; |