From efe8e2311ee2fed881f95cc1e72825906d21c7c1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Aug 2012 23:42:17 +0000 Subject: Use ingen:root as the path for the root patch, opening up path space for engine/driver/etc. Strict conversion between Path and URI (Path no longer is-a URI). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4672 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/PatchView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/PatchView.cpp') diff --git a/src/gui/PatchView.cpp b/src/gui/PatchView.cpp index 1e9e2d6a..0d2bf21b 100644 --- a/src/gui/PatchView.cpp +++ b/src/gui/PatchView.cpp @@ -163,7 +163,7 @@ PatchView::process_toggled() return; _app->interface()->set_property( - _patch->path(), + _patch->uri(), _app->uris().ingen_enabled, _app->forge().make((bool)_process_but->get_active())); } @@ -174,7 +174,7 @@ PatchView::poly_changed() const int poly = _poly_spin->get_value_as_int(); if (_enable_signal && poly != (int)_patch->internal_poly()) { _app->interface()->set_property( - _patch->path(), + _patch->uri(), _app->uris().ingen_polyphony, _app->forge().make(poly)); } @@ -183,7 +183,7 @@ PatchView::poly_changed() void PatchView::refresh_clicked() { - _app->interface()->get(_patch->path()); + _app->interface()->get(_patch->uri()); } void -- cgit v1.2.1